Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Enable https on 10.5's Apache2 web server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Enable https on 10.5's Apache2 web server
Authored by: c-splat on Feb 05, '11 10:17:29AM
I had several minor issues implementing this hint and its parent -- I hope this information will help others.

1. You must use a consistent host name in these locations:
httpd.conf: ServerName
httpd-ssl.conf: ServerName
Step 3, Common Name (eg, YOUR name). You should enter your HOST NAME here, not your first and last name
In your browser's address bar when making requests for your SSL-encrypted pages.

I got lost trying to figure out if I was suppossed to use "localhost," "," or "mymac.local" (replace "mymac" with your machine name as shown in your Sharing control panel where it says "Computers on your local network can access your computer at: mymachinename.local"

I set all these values to "mymac.local" because it seemed the most natural to use in the applications I am testing on my local machine.

2. In Step 1, when you are asked for your “Common Name”, you want to enter YOUR first and last name — not the server name or IP address. This certificate is not associated with your server — it’s associated with you. See

3. Above where it says "Make sure that... SSLCACertificateFile points to cacert.pem," I got sidetracked by not putting the demoCA directory in this path. It should read Make sure that... SSLCACertificateFile points to demoCA/cacert.pem"

[ Reply to This | # ]