logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Name-Based VirtualHosts and SSL
Author
holziusa



Joined: 02 Jan 2008
Posts: 48

PostPosted: Sat 07 Apr '12 16:05    Post subject: Name-Based VirtualHosts and SSL Reply with quote

"it will always use the configuration from the first-listed virtual host"

for self signed is there a fix for this rather not use wild cards
ref "http://wiki.apache.org/httpd/NameBasedSSLVHosts"
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 07 Apr '12 16:32    Post subject: Reply with quote

Not exactly what you want, but you can try what I do, Reverse Proxy to your :80 vhosts.

Listen 443

SSLPassPhraseDialog builtin
SSLSessionCache shmcb:logs/ssl_scache(512000)
SSLSessionCacheTimeout 300

<VirtualHost *:443>
ServerName www.land10.nl:443

ProxyPreserveHost On
ProxyPass / http://127.0.0.1/
ProxyPassReverse / http://127.0.0.1/

DocumentRoot "f:/web/land10nl"

SSLEngine on

SSLProtocol all -SSLv2
SSLHonorCipherOrder On
SSLCipherSuite !aNULL:!eNULL:!EXPORT:!DSS:!DES:RC4-SHA:RC4-MD5:ALL

SSLCertificateFile conf/ssl.crt
SSLCertificateKeyFile conf/ssl.key
SSLCertificateChainFile conf/sub.class2.server.ca.cer
SSLCACertificateFile conf/ca.cer

ErrorLog F:/log/apache/serror.log

CustomLog f:/log/apache/srequest.log "%h %l %u %t %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
</VirtualHost>


Steffen
Back to top


Reply to topic   Topic: Name-Based VirtualHosts and SSL View previous topic :: View next topic
Post new topic   Forum Index -> Apache