Multiple SSL websites with multiple IP addresses
I have the 1st site working with 1 IP address. But when I add the second
> Restarting httpd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
There's nothing in either the vhost or ssl error log, so I'm not clear what's failing (though I've gotten "caught SIGTERM, shutting down" with some tweaks.
If I remove the 2nd
The 2nd
<virtualhost 1.2.3.4:443="">DocumentRoot "/srv/www/mysite.com/public_html/"
ServerName http://www.mysite.com
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine On
SSLProtocol all -SSLv2
SSLCipherSuite RC4-SHA:AES128-SHA:ALL:!ADH:!EXP:!LOW:!MD5:!SSLV2:!NULL
SSLCertificateFile /etc/httpd/ssl/www_mysite_com.crt
SSLCertificateKeyFile /etc/httpd/ssl/www.mysite.com.key
SSLCertificateChainFile /etc/httpd/ssl/the_bundle.crt</virtualhost>
Any help would be most appreciated!
6 Replies
and/or read the error logs
Anyway, correcting the .key file and re-key-ing solved the problem. Thanks for the apachectl configtest suggestion!
@whatisron:
I didn't really have http:// in the ServerName (not sure why I typed that
:-? ).
This is why we recommend that you don't redact or change information when you post config files or logs. It's 10 times easier to debug issues when we're seeing the same things you are.
-Doug
@whatisron:
I didn't really have http:// in the ServerName (not sure why I typed that :-?).
You probably didn't. The forum often adds it to the beginning when it seeshttp://www.something . (As evidence, I did not type the preceding sentence with a link or http prefix.)