Re-Trust SSL Cert

Introduction
This wiki will show you how to re-Trust an SSL Certificate on a Mac. There instructions are specifically for the Mac Mail app

Set up trust for the SSL certificate
When connecting to a DreamHost mail server with SSL enabled, Mail will issue a warning because the root certificate's domain name won't match your mail server's domain name. (The infamous Certificate Domain Mismatch Error.) To fix this problem, you can tell Mail to ignore the discrepancy. There are two methods to do so.

Method 1

 * 1) Quit your Mail app
 * 2) Open Keychain Access
 * 3) Locate the certificate in the keychain (search for "dream")
 * 4) Find the *.mail.dreamhost.com certificate.
 * 5) Double-click the certificate
 * 6) Expand the "Trust" settings
 * 7) Change the "When using this certificate" option to "Always Trust"
 * 8) Quit Keychain Access
 * 9) Launch Mail

Method 2

 * 1) Quit your Mail app
 * 2) Open Keychain Access
 * 3) Locate the certificate in the keychain (search for "dream")
 * 4) Find the *.mail.dreamhost.com' certificate.
 * 5) Right-click that certificate and delete it.
 * 6) Launch Mail
 * 7) Try sending an email. You should get a message from Mail saying "Mail can't verify the identity of...".
 * 8) Click "Show Certificate"
 * 9) Check the box marked "Always trust *.mail.dreamhost.com"
 * 10) Click "Connect"

Method 3

 * 1) Open the Mail app
 * 2) Go to Mail -> Preferences...
 * 3) From the "Outgoing Mail Server(SMTP)" drop-down, select the "Edit Server List..." option.
 * 4) Select the proper outgoing mail server, then click on the subtract(-) button in the bottom-left corner to delete those outgoing mail settings
 * 5) Click on the add (+) button to re-add the outgoing mail setting.
 * 6) Enter "Description" and "Server Name:", then click on the Advanced tab.
 * 7) Select: Use the default ports(25, 465, 587)
 * 8) Use Secure Socket Layer (SSL) should be checked.
 * 9) At this point you will get a message from Mail saying "Mail can't verify the identity of...".
 * 10) Click "Show Certificate"
 * 11) Check the box marked "Always trust *.mail.dreamhost.com"
 * 12) Click "Connect"
 * 13) Back to the settings, "Authentication" should be set to "Password". The username is your full email address.
 * 14) Save your changes, then try to send a test email.