S: Anleitung SSL und Apache2

Apache, Lighttpd, nginx, Cherokee
Post Reply
cori
Posts: 21
Joined: 2003-06-07 19:04
Location: Weimar
Contact:
 

S: Anleitung SSL und Apache2

Post by cori »

Hallo!

Im Netz findet sich nur Anleitung für SSL und Apache 1.3.x. Kennt jemand einen guten Link, der sich mit dem Thema mod_ssl und Apache 2 beschäftigt, da ich meinem Webserver nicht richtig hinbekomm ...!?

Ich habe ein RH9 mit Apache laufen und folgende Fehlermeldung auf Clientseite:
"The Connection to **.**.uni-weimar.de has terminated unexpectedly. Some data may have been transferred." (** sind dann die wirklichen Namen!)

Server-Seitig:
===========

/var/log/httpd/access_log:
217.226.55.23 - - [07/Jun/2003:20:06:28 +0200] "x80Fx01x03x01" 501 1044 "-" "-"
217.226.55.23 - - [07/Jun/2003:20:06:28 +0200] "x80Fx01x03" 501 1044 "-" "-"

/var/log/httpd/error_log:
[Sat Jun 07 20:06:28 2003] [error] [client 217.226.55.23] Invalid method in request !F!!!
[Sat Jun 07 20:06:28 2003] [error] [client 217.226.55.23] Invalid method in request !F!!

/var/log/httpd/ssl_error_log
[Sat Jun 07 19:54:27 2003] [warn] RSA server certificate CommonName (CN) `**.**.uni-weimar.de' does NOT match server name!?
[Sat Jun 07 19:54:28 2003] [warn] RSA server certificate CommonName (CN) `**.**.uni-weimar.de' does NOT match server name!?

Franz Coriand
cori
Posts: 21
Joined: 2003-06-07 19:04
Location: Weimar
Contact:
 

Re: S: Anleitung SSL und Apache2

Post by cori »

Vielleicht hilft noch folgendes, ich hab etwas mit openssl probiert:

[root@uranus1 root]# openssl s_client -connect sf.medien.uni-weimar.de:443
CONNECTED(00000003)
18888:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:475:
[root@uranus1 root]#
f. hopper
Posts: 10
Joined: 2002-06-22 19:20
Location: Hessen
 

Re: S: Anleitung SSL und Apache2

Post by f. hopper »

Cori wrote:Hallo!

Im Netz findet sich nur Anleitung für SSL und Apache 1.3.x. Kennt jemand einen guten Link, der sich mit dem Thema mod_ssl und Apache 2 beschäftigt, da ich meinem Webserver nicht richtig hinbekomm ...!?
(...)
Franz Coriand
Hallo,

falls Dir ein komplettes LAMPS-Tutorial weiter hilft, hier gibt es eines für Apache 2 und SSL.

Ein Fehler im Tutorial: Unter diesem Punkt muss die Ã?nderung im Startskript
HTTPD='/usr/local/apache2/2.0.43/bin/httpd -D SSL'
und nicht
HTTPD='/usr/local/apache2/2.0.43/bin/httpd -DSSL'
lauten.

HTH
cori
Posts: 21
Joined: 2003-06-07 19:04
Location: Weimar
Contact:
 

Re: S: Anleitung SSL und Apache2

Post by cori »

DANKE!!!!

Ich habe meinen Fehler gefunden.
Zertifikat ist alles richtig gewesen, aber mein "httpd.conf"-File hatte einige Apache 1.3.x-Systax (ala <IfDefine SSL>, die natürlich mit apache2 nicht funzen.

Franz
Post Reply