Specifications
FIGURE A.2
The function phpinfo() provides useful configuration information.
Is SSL Working?
Okay, 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 whether it works, by connecting to the server with a Web browser and selecting the
https protocol, like this:
https://yourserver.yourdomain.com
or
http://yoursever.yourdomain.com:443
Try your server’s IP address also, like this:
https://xxx.xxx.xxx.xxx
or
http://xxx.xxx.xxx.xxx:443
If it worked, the server will send the certificate to the browser to establish a secure connection.
This will make the browser prompt you for accepting the self-signed certificate. If it were a
Appendixes
P
ART VI
792
38 7842 app a 3/6/01 3:40 PM Page 792