Attempt to configure apache on freebsd with a self signed certificate:
Apache/2.0.50 (Unix) PHP/5.0.0 mod_ssl/2.0.50 OpenSSL/0.9.7c
Code:
# openssl genrsa -des -out ca.key 1024
# openssl req -new -x509 -days 365 -key ca.key -out ca.crt
SSLCertificateFile /path/to/this/server.crt
SSLCertificateKeyFile /path/to/this/server.key
root@presto:/usr/local/apache2/bin> ./apachectl startssl
Apache/2.0.50 mod_ssl/2.0.50 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.
Server secure.presto:443 (RSA)
Enter pass phrase:
Ok: Pass Phrase Dialog successful.
Results:
Surf to: https://secure.presto
-the lock appears
-the page seems to be constantly loading even though it's a 1 line .html file,
-nothing is displayed
-click on the lock, from IE: 'this type of document does not have a security certificate'
-browsing the page from netscape/mozilla: 'connection refused'