|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
after many many hours of googling
i'm getting a bit frustrated.Our production box is Win server 2003 running Apache + php. we have one client we site set up with SSL that is running fine adding the second one is a nightmare. here are the relevant conf directives. ssl.conf: Listen 443 Listen 444 #domain 1 <VirtualHost XXX.XXX.XXX.XXX:443> DocumentRoot "c:/webpath../https/" ServerName www.domain_1.ca:443 ServerAdmin user@domain_1.ca ErrorLog logs/error_log TransferLog logs/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP:+eNULL SSLCertificateFile "c:/apachepath/apache2/conf/ssl/www.domain_1.ca.crt" SSLCertificateKeyFile "c:/apachepath/apache2/conf/ssl/www.domain_1.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 CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> #domain 2 <VirtualHost XXX.XXX.XXX.XXX:444> DocumentRoot "c:/webpath../https/" ServerName www.domain_1.ca:444 ServerAdmin user@domain_1.ca ErrorLog logs/error_log TransferLog logs/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP:+eNULL SSLCertificateFile "c:/apachepath/apache2/conf/ssl/www.domain_2.ca.crt" SSLCertificateKeyFile "c:/apachepath/apache2/conf/ssl/www.domain_2.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 CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> httpd.conf Listen XXX.XXX.XXX.XXX:80 Listen XXX.XXX.XXX.XXX:443 Listen XXX.XXX.XXX.XXX:444 ..... #<IfModule mod_ssl.c> Include conf/ssl.conf #</IfModule> NameVirtualHost XXX.XXX.XXX.XXX:443 <VirtualHost XXX.XXX.XXX.XXX:443> ServerName www.domain_1.ca DocumentRoot "C:/webpath/https/" Alias assets "C:/webpath/client_1dir/assets/" SSLEngine on SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2: +EXP:+eNULL SSLCertificateFile "c:/apachepath/apache2/conf/ssl/domain_1.ca.crt" SSLCertificateKeyFile "c:/apachepath/apache2/conf/ssl/domain_1.ca.key" </VirtualHost> NameVirtualHost XXX.XXX.XXX.XXX:444 <VirtualHost XXX.XXX.XXX.XXX:444> ServerName www.domain_2.ca DocumentRoot "C:/webpath/https/" Alias assets "C:/webpath/client_2dir/assets/" SSLEngine on SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2: +EXP:+eNULL SSLCertificateFile "c:/apachepath/apache2/conf/ssl/www.domain_2.ca.crt" SSLCertificateKeyFile "c:/apachepath/apache2/conf/ssl/www.domain_2.ca.key" </VirtualHost> <VirtualHost www.domain_1.ca:80> DocumentRoot "C:/webpath/client_1dir" ServerName www.shopsickkids.ca <Directory "C:/webpath/client_1dir"> allow from all Options +Indexes </Directory> ServerAlias domain_1.ca </VirtualHost> <VirtualHost www.domain_2.ca:80> ServerName www.domain_2.ca DocumentRoot "C:/webpath/client_2dir" <Directory "C:/webpath/client_2dir"> allow from all Options +Indexes </Directory> ServerAlias domain_2.ca </VirtualHost> /end conf info both domains apps off to the "C:/webpath/https/" for a secure checkout... when the conf directives for the second domain are uncommented I get SSLPassPhraseDialog builtin is not supported on Win32 in the apache error log, no problem with the first domain only. the apache and mod_ssl docs are pretty useless as far a what to do in that the don't explain what SSLPassPhraseDialog exec:/path/to/program is supposed to point to other than the generic example "pp-filter". both keys were created in the same fashion so I don't understand where the issue is or what program I can use for PassPhrase-filter. A dialogue for passphrase does not come up on a manual restart |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Help needed Apache mod_ssl named virtual hosts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|