timothyb89 Posted February 13, 2008 Share Posted February 13, 2008 Hello, I'm wondering if it is possible to have a separate SSL configuration for different virtual hosts. To clarify, I need to selectively encrypt specific subdomains/virtual hosts on my server . I tried making a virtual host with the usual SSL config but I didn't have any luck: <VirtualHost *:80> ServerAdmin [email protected] ServerName sslhost.mydomain.org:443 DocumentRoot /srv/www/vhosts/sslhost/htdocs/ HostnameLookups Off UseCanonicalName Off ServerSignature On SSLCipherSuite HIGH:MEDUIM SSLProtocol all -TLSv1 SSLCertificateFile /srv/www/vhosts/sslhost/ssl/ssl.crt/sslhost-server.crt SSLCertificateKeyFile /srv/www/vhosts/sslhost/ssl/ssl.key/sslhost-server.key SSLCertificateChainFile /srv/www/vhosts/sslhost/ssl/my-ca.crt SSLCACertificateFile /srv/www/vhosts/sslhost/ssl/my-ca.crt Include /etc/apache2/conf.d/*.conf <Directory "/srv/www/vhosts/sslhost"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> Is there something I'm doing wrong, or is doing this even possible? -Thanks! Link to comment https://forums.phpfreaks.com/topic/90798-different-ssl-configuration-for-virtual-hosts/ Share on other sites More sharing options...
trq Posted February 13, 2008 Share Posted February 13, 2008 Hello, I'm wondering if it is possible to have a separate SSL configuration for different virtual hosts. Not unless they are also on a different ip address. Link to comment https://forums.phpfreaks.com/topic/90798-different-ssl-configuration-for-virtual-hosts/#findComment-465409 Share on other sites More sharing options...
timothyb89 Posted February 13, 2008 Author Share Posted February 13, 2008 OK, thanks for clearing that up Link to comment https://forums.phpfreaks.com/topic/90798-different-ssl-configuration-for-virtual-hosts/#findComment-465415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.