4

Ask: Multi domain (site) with SSL on APACHE

view full story
linux-howto

http://forums.fedoraforum.org – Hi everybody. Currently I has problem with my configuration Apache: setup 2 CA for 2 domain following VirtualHost, there not match Apache 2.2.14 OpenSSL 0.9.8e-12.el5 Problem: _https://site1.com browser notice SSL with info CA is site1.com _https://site2.com browser does not match SSL CA site2.com, only show CA of site1.com => With 2 site made 2 CA for each domain. Below my content config file Quote: Originally Posted by Site1.Com <VirtualHost *:80> ServerAdmin [email protected] ServerName site1.com ServerAlias www.site1.com Redirect permanent / https://site1.com </VirtualHost> <VirtualHost *:443> ServerAdmin [email protected] DocumentRoot "/var/www/web/site1.com" ServerName site1.com ServerAlias www.site1.com ErrorLog "/var/www/web/site1.com/logs/error" CustomLog "/var/www/web/site1.com/logs/custom" common <Directory "/var/www/web/site1.com/"> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> SSLEngine on SSLCertificateFile /var/www/ssl/site1.com.crt SSLCertificateKeyFile /var/www/ssl/site1.com.key </VirtualHost> Quote: Originally Posted by Site2.Com <VirtualHost *:80> ServerAdmin [email protected] ServerName site2.com ServerAlias www.site2.com Redirect permanent / https://site2.com </VirtualHost> <VirtualHost *:443> ServerAdmin [email protected] DocumentRoot "/var/www/web/site2.com" ServerName site2.com ServerAlias www.site2.com ErrorLog "/var/www/web/site2.com/logs/error" CustomLog "/var/www/web/site2.com/logs/custom" common <Directory "/var/www/web/site2.com/"> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> SSLEngine on SSLCertificateFile /var/www/ssl/site2.com.crt SSLCertificateKeyFile /var/www/ssl/site2.com.key </VirtualHost> Thank you very much for read and reply (HowTos)