Accepting a self-signed SSL certificate (OS X)

Posted . Visible to the public.

If you want to get your development site secured with an SSL certificate you might want to accept the certificate so that you don't get errors.

Safari

  1. Click on the padlock
  2. View the certificate trust details
  3. trust the certificate

Chrome

This was tricky for me on Chrome 58+, but it basically comes down to the following (if I recall correctly)

  1. You probably need to make sure your certificate is trusted via the keychain. The easiest way to do this is to accept it via Safari :/
  2. You possibly need to copy the certificate from the 'login' keychain to the 'System' keychain, but this may not be needed
  3. Without this, it didn't work for me. run the following in your console: defaults write com.google.Chrome EnableCommonNameFallbackForLocalAnchors -bool true. This is taken from https://stackoverflow.com/a/42917227 relating to changes in Chrome
adre
Last edit
adre
Posted by adre to Foxsoft (2017-06-08 09:52)