help with apache config with ssl self cert
When I restart apache i get "NameVirtualHost [ip]:443 has no VirtualHosts"
In my ssl.conf file i have the following:
LoadModule sslmodule modules/modssl.so
Listen 443
NameVirtualHost [ip]:443
SSLProtocol all -SSLv2
SSLCertificateFile /etc/httpd/ssl/httpd.pem
SSLCertificateKeyFile /etc/httpd/ssl/httpd.key
.
.
.
so i do have a virtual host defined..not sure what's going on? anyone help?
4 Replies
this page.
Why do you have "Listen 443" commented out?
[Thu Feb 09 21:54:29 2012] [warn] NameVirtualHost [ip]:443 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:443
Different versions of Apache on different OS's have different configuration hierarchies, and different tutorials also recommend different file/folder structures, so it's not easy to tell where everything is. This can result in duplicate or conflicting entries. Start with httpd.conf and you'll be able to figure out which files/folders are included.