Quick note
The Issue
In Firefox specifically, you may have noticed that you are no longer able to add an exception for self-signed certificates. You’ll get a warning that the certificate is not valid. In the past, you could just add an exception and proceed on. However, I ran into an issue with the newer versions of Firefox would not allow me to trust the certificate; thus preventing me from accessing my .dev domains. Since I needed to access these sites for local development, I needed to find a way to get past this hurdle. Follow the steps below to once again allow for adding an exception for a self-signed certificate:
The Fix
- Open up a browser window and go to “about:config”
- Search for “network.stricttransportsecurity.preloadlist”
- Set this value to “false”
Screenshot will look similar to the image below:
Now proceed to your development site, where you will be able to add an exception for the self-signed certificate in Firefox and once again access your development sites.
Happy coding!
If you enjoy this blog, you might want to consider checking out our blog for more articles at https://blog.thundersteed.com/