Mac OS X Server 10.2: How to Set Up SSL for Mail Service

This document explains how to enable the mail service of Mac OS X Server 10.2 to make Secure Socket Layer (SSL) connections happen automatically.

Summary

Setting up automatic SSL connections for the mail service of Mac OS X Server 10.2 requires these basic steps:


Generating a CSR and Creating a Keychain

You generate a CSR and create a keychain by using the command-line tool certtool. A CSR is a file that provides information needed to issue an SSL certificate.


When 'Wrote (n) bytes of CSR to csr.txt' appears, you have successfully generated a CSR and created the keychain that mail service needs for SSL connections.

Obtaining an SSL Certificate

You must purchase an SSL certificate from a certificate authority such as Verisign (http://www.verisign.com) or Thawte (http://www.thawte.com). You can do this by completing a form on the certificate authority's Web site. When prompted for your CSR, open the csr.txt file using a text editor, such as TextEdit, copy and paste the contents of the file into the appropriate field on the certificate authority's Web site.

When you receive your certificate, save it in a text file named sslcert.txt. You can do this with the TextEdit application. Make sure the file is plain text, not rich text, and contains only the certificate text.

Importing the Certificate Into the Keychain

To import SSL certificates into the keychain you created, use the command-line tool certtool.


Creating a Passphrase File

To create a Passphrase file, you will use TextEdit, then change the privileges of the file using the Terminal. Once this is done, mail service uses the passphrase file to unlock the keychain automatically.

 

Published Date: Oct 10, 2016