PHPUnit/Selenium - How to stop Google Chrome from showing a SSL security error
The process on Mac/Chrome is the following:
- Load the site with the certificate in question, accept the warning
- Click the lock with the X in the address bar, then the "Certificate Information" button
- Drag the picture of the certificate to your desktop
- Double click the *.cer file that is now on your desktop to install it in your Keychain
- Per the instructions, choose the "login" keychain for current user or "system"
- Click "Add"
- Once the cert has been added, choose the appropriate keychain and then double click the certificate
- Expand the "Trust" section, and for "When using this certificate" choose "Always Trust"
I don't have a Windows machine, but this article for Chrome references this article for IE on how to install the cert to your Windows Certificate Store.