[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache + mod_ssl



servus! :)

ich habe hier einen apache installiert (mit libapache-mod-ssl und -doc) und
mich bei der
ssl konfiguration an die anleitungen gehalten...
leider scheint etwas bei der virtualhost konfiguration nicht so ganz zu
wollen..

wenn ich so mache:

----------------------------------------------------------------------------
--
NameVirtualHost *

<VirtualHost *:443>
   DocumentRoot /var/www
   ServerAdmin root@xxxxx
   Servername narf.ninth.biz
   <IfModule mod_ssl.c>
   SSLEngine on
   SSLCertificateFile    /etc/apache/ssl.crt/server.crt
   SSLCertificateKeyFile /etc/apache/ssl.key/server.key
   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
   </IfModule>
</VirtualHost>
----------------------------------------------------------------------------
--

dann sagt das ssl logfile:

----------------------------------------------------------------------------
--
[30/Nov/2002 13:42:38 02311] [info]  Server: Apache/1.3.26, Interface:
mod_ssl/2.8.9, Library: OpenSSL/0.9.6g
[30/Nov/2002 13:42:38 02311] [info]  Init: 1st startup round (still not
detached)
[30/Nov/2002 13:42:38 02311] [info]  Init: Initializing OpenSSL library
[30/Nov/2002 13:42:38 02311] [info]  Init: Loading certificate & private key
of SSL-aware server narf.ninth.biz:443
[30/Nov/2002 13:42:38 02311] [info]  Init: Seeding PRNG with 136 bytes of
entropy
[30/Nov/2002 13:42:38 02311] [info]  Init: Generating temporary RSA private
keys (512/1024 bits)
[30/Nov/2002 13:42:41 02311] [info]  Init: Configuring temporary DH
parameters (512/1024 bits)
[30/Nov/2002 13:42:43 02312] [info]  Init: 2nd startup round (already
detached)
[30/Nov/2002 13:42:43 02312] [info]  Init: Reinitializing OpenSSL library
[30/Nov/2002 13:42:43 02312] [info]  Init: Seeding PRNG with 136 bytes of
entropy
[30/Nov/2002 13:42:43 02312] [info]  Init: Configuring temporary RSA private
keys (512/1024 bits)
[30/Nov/2002 13:42:43 02312] [info]  Init: Configuring temporary DH
parameters (512/1024 bits)
[30/Nov/2002 13:42:43 02312] [info]  Init: Initializing (virtual) servers
for SSL
[30/Nov/2002 13:42:43 02312] [info]  Init: Configuring server xxxxxx :443
for SSL protocol
----------------------------------------------------------------------------
--

und das scheint ja gut auszusehen..leider funktioniert dann der server nicht
wie gewünscht.
weder http noch https requests führen zum ziel.
Fehler im IE: "Seite kann nicht angezeigt werden"

wenn ich allerdings bei den virtualhosts folgendes mache:

----------------------------------------------------------------------------
--
<VirtualHost *>
   DocumentRoot /var/www
   ....
</Virtualhost>
----------------------------------------------------------------------------
--

dann funktioniert https! wenn auch leider auf port 80! :-/

ich glaube meinem apache ist nicht so ganz klar was main server und was
virtualhost ist..
wie mache ich das nun das ich auf 80 ganz normale http requests entgegen
nehmen kann und
auf 443 https requests? Ich bekomme immer nur entweder das eine oder das
andere hin :-((

schonmal danke :-)
mfg D.W.



Reply to: