If you’re doing local development on your Mac and you’re always getting SSL warnings (or maybe the local site won’t load at all in Safari), use the following instructions to make the SSL certificate for the local site always trusted by your Mac.
- In the address bar, click the little lock with the X. This will bring up a small information screen. Click the button that says “Certificate Information.”
- Click and drag the image to your desktop. It looks like a little certificate.
- Double-click it. This will bring up the Keychain Access utility. Enter your password to unlock it.
- Be sure you add the certificate to the System keychain, not the login keychain. Click “Always Trust,” even though this doesn’t seem to do anything.
- After it has been added, double-click it. You may have to authenticate again.
- Expand the “Trust” section.
- “When using this certificate,” set to “Always Trust”