Ask a Question

Install a SSL Web Server certificate on Mac OS X

Problem

Install certificate and enable SSL on MAC OS X
Install a SSL Web Server certificate on Mac OS X

Solution

To install a SSL Web Server certificate on MAC OS X, follow the instructions below:
 
Step 1: Obtain the Thawte SSL Web Server Intermediate CA certificate
 
a) Download the Thawte Intermediate CA for SSL Web Server certificate: AR1384
 
Note: Be sure to use Vi or Notepad as word processing programs like Microsoft Wordpad may add additional characters that may render the certificate unusable.
 
b) Copy and paste the SSL Web Server certificate Intermediate CA into a text file and save as intermediate.txt
 
c) Download your certificate as per the instruction on the following solution: SO13187 and save as certificate.crt
 
Step2. Assign the new SSL certificate to the web site
 
   1. Open the Server Admin utility.
   2. In the Computers & Services column, open out the current server and select Web.
   3. In the main section of the Server Admin screen, select the Sites tab and double-click the site being secured with SSL.
   4. Select the Security tab, tick the box for 'Enable Secure Sockets Layer (SSL)' if not already ticked.
 
Note: If you change this selection, the port number the website operates on may change (a warning will appear if this is the case). If you need the website to operate in both http and https mode, you need to create a copy of the site in Server Admin.
  
   5. In the Certificate: dropdown, select Custom Configuration
   6. A dialogue box appears to specify the locations of the certificate and key files (the below assumes the file locations and names have been left as recommended):

          * For 'Certificate File', enter /etc/httpd/ssl.crt/certificate.crt
          * For 'Private Key File', enter /etc/httpd/ssl.key/private.key
          * For 'Certificate Authority File', enter /etc/httpd/ssl.txt/intermediate.txt
          * For 'Private Key Passphrase', leave empty unless a password has been set on the private key

   7. Click OK on the dialogue box, click Save on the Server Admin window and click Restart when prompted.