Current time: 09-23-2024, 06:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
multiple ssl certificates (one for each domain)
Author Message
soomon Offline
Junior Member
*

Posts: 37
Joined: May 2007
Reputation: 0
Post: #1
multiple ssl certificates (one for each domain)
hi there,

i found this nice site giving ssl certificates 4 free, which are accepted by every browser:
https://www.startssl.com/

so i created my first certificate and used a new configuration file (ssl_domain1.de.conf) with:
Code:
NameVirtualHost domain1.de:443

<VirtualHost domain1.de1:443>
#
# SSL Start
#

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/ssl_domain1.de.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl_domain1.de.key
SSLCertificateChainFile /etc/apache2/ssl/startcomsub.class1.server.ca.crt
SSLCACertificateFile /etc/apache2/ssl/startcomca.crt
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

#
# SSL End
#

and added everything from the normal config file of that domain
and everything went great (which means the certificate was working Wink )

then i created the certificate for the second domain (domain2) and did use exactly the same schema for the config file, reloaded apache and:
NameVirtualHost domain1.de:443 has no VirtualHosts

then the certificate for the second domain worked on the second domain, but when i tried to access the first one with ssl i got the certificate of the second domain o_0

i was not sure where my mistake was and tried it with the third domain. but the result was the same, now i got the apach error message about virtual hosts with domain 1&2, but domain 3 was working and domain 1&2 showed the ssl certificate of domain 3.

wehere's my mistake?
what do i have to do?

thanks & greets,
soomon
03-14-2009 02:29 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
multiple ssl certificates (one for each domain) - soomon - 03-14-2009 02:29 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)