On OpenSUSE 10.3 I have several virtual host files under
/etc/apache2/vhosts.d/. These files were created from the template:
/etc/apache2/vhosts.d/vhost.template (not
/etc/apache2/vhosts.d/vhost-ssl.template)
Does anyone know how do I setup SSL globally so all these virtual hosts
be accessed on port 443 as well?
I have created the SSL certificates using
/usr/share/doc/packages/apache2/certificate.sh script
I have also edited /etc/sysconfig/apache2 and added APACHE_SERVER_FLAGS=“SSL”
I can access the site on http://127.0.0.1 but if I try https://127.0.0.1
I get error message “127.0.0.1 has sent an incorrect or unexpected message.
Error Code: -12263” (tried from Firefox 2.0.0.6). In apache2 error log I get
“Invalid method in request \x16\x03\x01”
Apache2 is listening on port 80 and 443 on 0.0.0.0.
I have read Apache Howto SSL - openSUSE
and when I try a2enmod ssl and a2enflag SSL I get message
“ssl already present”
Thanks for any help.