|
|
10.5: Enable https on 10.5's Apache2 web server
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," "127.0.0.1," 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 http://developer.apple.com/internet/serverside/modssl.html 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" |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.31 seconds |
|