Hello there,
I make 2 different ssl certificates with openssl for apache web server using these commands:
openssl genrsa -des3 -out ca.key 1024
openssl req -new -x509 -days 10000 -key ca.key -out ca.crt
and removing passphrase with openssl -rsa -in ca.key -out ca.key

With this, I made 2 certificates one for www.domain.com and another for mail.domain.com

I putted in httpd.conf with a syntax like that:

<VirtualHost ip:443>
DocumentRoot "/path/"
ServerName mail.domain.com
ServerAdmin [email protected]
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/newssl/ca.crt *
SSLCertificateKeyFile /etc/httpd/newssl/ca.key *
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
* = the host www.domain.com is another files named wwwca.key/crt not the sames ofcourse

And I have this problem
It workss just fine but either www.domain.com and mail.domain.com uses the mail.domain.com SSL Certificate. The problem: It cause warning messages when trying to reach https://www.domain.com saying that the crt is for mail.domain.com

Any solutions ?