Hallo noch mal,

also ich habe jetzt in prots.conf u.a. Folgendes stehen:

<IfModule mod_ssl.c>
    Listen 88.1xx.5x.72:443
    NameVirtualHost 88.1xx.5x.72:443
</IfModule>

und in einer Konfiguration für die vhosts u.a. dies hier:

<VirtualHost 88.1xx.5x.72:443>
  SSLEngine On
  SSLCACertificateFile /etc/apache2/ssl/ssl.ca
  SSLCertificateFile /etc/apache2/ssl/ssl.crt
  SSLCertificateKeyFile /etc/apache2/ssl/ssl.key
  ServerName demo.domain.tld
  ServerAdmin [email protected]
  DocumentRoot "/var/kunden/webs/XYZ/Demoportal/mandanten/demo/"
  ErrorLog "/var/kunden/logs/XYZ-error.log"
  CustomLog "/var/kunden/logs/XYZ-access.log" combined
</VirtualHost>

<VirtualHost 88.1xx.5x.72:443>
  SSLEngine On
  SSLCACertificateFile /etc/apache2/ssl/ssl.ca
  SSLCertificateFile /etc/apache2/ssl/ssl.crt
  SSLCertificateKeyFile /etc/apache2/ssl/ssl.key
  ServerName dev.domain.tld
  ServerAdmin [email protected]
  DocumentRoot "/var/kunden/webs/ABC/Devportal/"
  ErrorLog "/var/kunden/logs/ABC-error.log"
  CustomLog "/var/kunden/logs/ABC-access.log" combined
</VirtualHost>

Trotzdem meldet der apache2.2.9 von debian lenny noch:

[Tue Dec 06 16:19:57 2011] [warn] Init: SSL server IP/port conflict:
demo.domain.tld:443 (/etc/apache2/sites-enabled/vhosts_ssl:126) vs.
Dev.domain.tld:443 (/etc/apache2/sites-enabled/vhosts_ssl:143)

und

[Tue Dec 06 16:19:57 2011] [warn] Init: You should not use name-based
virtual hosts in conjunction with SSL!!


Nun sagen Andre und Thomas, dass genau solch eine Konfiguration bei ihnen
läuft. Klar, tut sie hier auch, unter lenny. Upgrade ich auf squeeze und
damit apache2.2.16 hört die Gesprächigkeit auf, im error log steht dann nur:

[Mon Dec 05 13:44:33 2011] [error] Server should be SSL-aware but has no
certificate configured [Hint: SSLCertificateFile] ((null):0)

Aber starten tut er nicht ;-(

Vielleicht hat das eine mit dem anderen auch gar nichts zu tun, so einen bug
hatte debian ja schonmal:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541607

Jetzt habe ich aber eine Spur :
http://serverfault.com/questions/232782/debian-squeeze-upgrade-breaks-apache
-ssl



Mit freundlichen Grüßen / Kind regards
     Ronny Seffner
-- 
Ronny Seffner  |  Alter Viehweg 1  |  01665 Triebischtal

www.seffner.de  |  [email protected]  |  +49 35245 72950


_______________________________________________
Lug-dd maillist  -  [email protected]
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an