Browser CertificatesEdit on GitHub
The Firefox driver properly handles untrusted certificates by default.
If you have a trusted certificate, but there is some other certificate error such as a hostname mismatch (eg. using a production certificate in test), you should do the following:
The reason this is needed is explained here.
It is easy to ignore invalid Browser certificates in Google Chrome by passing a command line switch: