<p>I am maintaining a few web applications. The development and qa environments use invalid/outdated ssl-certificates.</p>

<p>Although it is generally a good thing, that Firefox makes me click like a dozen times to accept the certificate, this is pretty annoying.</p>

<p>Is there a configuration-parameter to make Firefox (and possibly IE too) accept any ssl-certificate?</p>

<p>EDIT: I have accepted the solution, that worked. But thanks to all the people that have advised to use self-signed certificates. I am totally aware, that the accepted solution leaves me with a <strong>gaping security hole</strong>. Nonetheless I am to lazy to change the certificate for all the applications and all the environments...</p>

<p>But I also advice anybody strongly to leave validation enabled!</p>

[{'answer_id': 20100, 'author': 'Forgotten Semicolon', 'author_id': 1960, 'author_profile': 'https://Stackoverflow.com/users/1960', 'pm_score': 2, 'selected': False, 'text': '<p>Instead of using invalid/outdated SSL certificates, why not use self-signed SSL certificates?  Then you can add an exception in Firefox for just that site.</p>\n'}, {'answer_id': 20111, 'author': 'palmsey', 'author_id': 521, 'author_profile': 'https://Stackoverflow.com/users/521', 'pm_score': 0, 'selected': False, 'text': '<p>The <a href="https://addons.mozilla.org/en-US/firefox/addon/6843" rel="nofollow noreferrer">MitM Me addon</a> will do this - but I think self-signed certificates is probably a better solution.</p>\n'}, {'answer_id': 20113, 'author': 'rudle', 'author_id': 400427, 'author_profile': 'https://Stackoverflow.com/users/400427', 'pm_score': 2, 'selected': False, 'text': '<p>Using a free certificate is a better idea if your developers use Firefox 3.  Firefox 3 complains loudly about self-signed certificates, and it is a major annoyance.</p>\n'}, {'answer_id': 20114, 'author': 'Dan Herbert', 'author_id': 392, 'author_profile': 'https://Stackoverflow.com/users/392', 'pm_score': 6, 'selected': True, 'text': '<p>Go to Tools > Options > Advanced "Tab"(?) > Encryption Tab</p>\n\n<p>Click the "Validation" button, and uncheck the checkbox for checking validity</p>\n\n<p>Be advised though that this is pretty unsecure as it leaves you wide open to accept any invalid certificate. I\'d only do this if using the browser on an Intranet where the validity of the cert isn\'t a concern to you, or you aren\'t concerned in general.</p>\n'}, {'answer_id': 71215, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>For a secure alternative, try the <a href="http://www.cs.cmu.edu/~perspectives/firefox.html" rel="nofollow noreferrer">Perspectives Firefox add-on</a></p>\n\n<p>If this link doesn\'t work try this one:\n<a href="https://addons.mozilla.org/en-US/firefox/addon/perspectives/" rel="nofollow noreferrer">https://addons.mozilla.org/en-US/firefox/addon/perspectives/</a></p>\n'}, {'answer_id': 2043324, 'author': 'henryc2323', 'author_id': 248228, 'author_profile': 'https://Stackoverflow.com/users/248228', 'pm_score': 6, 'selected': False, 'text': '<p>Try Add Exception: FireFox -> Tools -> Advanced -> View Certificates -> Servers -> Add Exception.  </p>\n'}, {'answer_id': 10546028, 'author': 'Fiasco Labs', 'author_id': 722112, 'author_profile': 'https://Stackoverflow.com/users/722112', 'pm_score': 1, 'selected': False, 'text': '<p>Create some nice new 10 year certificates and install them. The procedure is fairly easy.</p>\n\n<p>Start at <strong>(1B) Generate your own CA (Certificate Authority)</strong> on this web page: <a href="http://www.tc.umn.edu/~brams006/selfsign.html" rel="nofollow">Creating Certificate Authorities and self-signed SSL certificates</a> and generate your CA Certificate and Key. Once you have these, generate your Server Certificate and Key. Create a Certificate Signing Request (CSR) and then sign the Server Key with the CA Certificate. Now install your Server Certificate and Key on the web server as usual, and import the CA Certificate into Internet Explorer\'s Trusted Root Certification Authority Store (used by the Flex uploader and Chrome as well) and into Firefox\'s Certificate Manager Authorities Store on each workstation that needs to access the server using the self-signed, CA-signed server key/certificate pair.</p>\n\n<p>You now should not see any warning about using self-signed Certificates as the browsers will find the CA certificate in the Trust Store and verify the server key has been signed by this trusted certificate. Also in e-commerce applications like Magento, the Flex image uploader will now function in Firefox without the dreaded "Self-signed certificate" error message.</p>\n'}, {'answer_id': 16938914, 'author': 'Pascal Calovini', 'author_id': 2455450, 'author_profile': 'https://Stackoverflow.com/users/2455450', 'pm_score': 2, 'selected': False, 'text': '<p>If you have a valid but untrusted ssl-certificates you can import it in Extras/Properties/Advanced/Encryption --> View Certificates. After Importing ist as "Servers" you have to "Edit trust" to "Trust the authenticity of this certifikate" and that\' it. \nI always have trouble with recording secure websites with HP VuGen and Performance Center</p>\n'}, {'answer_id': 32188658, 'author': 'Bryan Focht', 'author_id': 3145191, 'author_profile': 'https://Stackoverflow.com/users/3145191', 'pm_score': 5, 'selected': False, 'text': '<p>I ran into this issue when trying to get to one of my companies intranet sites.  Here is the solution I used:</p>\n\n<ol>\n<li>enter <code>about:config</code> into the firefox address bar and agree to continue. </li>\n<li>search for the preference named <code>security.ssl.enable_ocsp_stapling</code>.</li>\n<li>double-click this item to change its value to false.</li>\n</ol>\n\n<p>This will lower your security as you will be able to view sites with invalid certs.  Firefox will still prompt you that the cert is invalid and you have the choice to proceed forward, so it was worth the risk for me.</p>\n'}, {'answer_id': 71890334, 'author': 'Leniel Maccaferri', 'author_id': 114029, 'author_profile': 'https://Stackoverflow.com/users/114029', 'pm_score': 2, 'selected': False, 'text': '<p>In the current Firefox browser (v. 99.0.1) I was getting this error when looking at Web Developer Tools \\ Network tab:</p>\n<pre><code>MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT\n</code></pre>\n<p><a href="https://i.stack.imgur.com/PQX7j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PQX7j.png" alt="enter image description here" /></a></p>\n<p>I was trying to debug an Angular app which is served at <code>https://localhost:4200</code>... however the real port it\'s pointing to and being debugged from in Visual Studio 2022 is <code>44322</code>.</p>\n<p>I had to follow these steps to fix the issue:</p>\n<ol>\n<li><p>Open Firefox Settings;</p>\n</li>\n<li><p>Look for Privacy &amp; Security tab on the left;</p>\n</li>\n<li><p>Scroll down to the bottom and look for Certificates;</p>\n</li>\n<li><p>View Certificates;</p>\n</li>\n<li><p>In this window you must click Add Exception and enter the location. In my case it was:</p>\n<p>https://localhost:44322</p>\n</li>\n<li><p>Click Get Certificate button;</p>\n</li>\n<li><p>Click Confirm Security Exception button.</p>\n</li>\n</ol>\n<p>After that, try reloading your page.</p>\n<p><a href="https://i.stack.imgur.com/uLAlS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uLAlS.jpg" alt="enter image description here" /></a></p>\n'}]
['https://Stackoverflow.com/questions/20088', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1870/']