The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP - Is SSL Working? (
Page 9 of 11 )
Ok, now we
are ready to test for SSL. First, stop the server, and restart with the SSL
option enabled.
# /usr/local/apache/bin/apachectl stop#
/usr/local/apache/bin/apachectl startssl
Test to see if it works, by connecting to the server with a
Netscape and selecting the https protocol, (i.e.
https://yourserver.yourdomain.com or http://yoursever.yourdomain.com:443 again).
Also, try your server's ip (i.e. https://xxx.xxx.xxx.xxx: and
http://xxx.xxx.xxx.xxx:443).
If it worked, the server will send the
certificate to the browser to establish a secure connection which will make the
browser prompt you for accepting the self signed certificate. If it were a
certificate from VeriSign or Thawte then the browser will not prompt you because
their certificates are coming from a trusted Certificate Authority (CA). In our
case we created and signed our own certificates. We didn't want to buy one right
away because we wanted first to ensure that everything worked properly.
You will see the following option enabled in Netscape. This tells you
that a secure connection has been established.