Apache-SSL - Fuer alle VHosts wird das selbe cert gesendet
Posted: 2003-07-27 21:30
Hallo,
ich hab mir eben ApacheSSL installiert und soweit auch konfiguriert.
Der Main-Server hat SSL aus und ich hab 2 VHosts, bei denen SSL an ist.
hier die vhost-config von meiner httpsd.conf:
also er sendet immer das zertifikat des ersten VHosts, nie das des 2. obwohl er die doc-root des 2. aufruft.
(Apache_1.3.27+SSL_1.48, openssl 0.9.7b)
die beiden keys und crts wurden separat erstellt, also es sind alles verschiedene
ich hab mir eben ApacheSSL installiert und soweit auch konfiguriert.
Der Main-Server hat SSL aus und ich hab 2 VHosts, bei denen SSL an ist.
hier die vhost-config von meiner httpsd.conf:
Code: Select all
NameVirtualHost 217.160.xxx.xxx
<VirtualHost 217.160.xxx.xx:443>
SSLEnable
SSLCertificateFile /usr/apache_ssl/conf/keys/ssl.crt/test.crt
SSLCertificateKeyFile /usr/apache_ssl/conf/keys//ssl.key/test.key
SSLSessionCacheTimeout 3600
ServerName test.meinedomain.tld
DocumentRoot /home/ssl/meinedomain.tld/test
</VirtualHost>
<VirtualHost 217.160.xxx.xx:443>
SSLEnable
SSLCertificateFile /usr/apache_ssl/conf/keys/ssl.crt/subdomain.domain.tld.crt
SSLCertificateKeyFile /usr/apache_ssl/conf/keys//ssl.key/subdomain.domain.tld.key
SSLSessionCacheTimeout 3600
ServerName subdomain.domain.tld
DocumentRoot /home/ssl/domain.tld/subdomain
</VirtualHost>(Apache_1.3.27+SSL_1.48, openssl 0.9.7b)
die beiden keys und crts wurden separat erstellt, also es sind alles verschiedene