This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to force Firefox to trust my mitm https proxy certificate?

  • 1 பதிலளி
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by wybqogzigoxruxdhnp

Hi!

I want to dump/debug http traffic with mitm proxy: https://github.com/ganskef/LittleProxy-mitm . This proxy generates it's own root certificate which i manually imported to Firefox from about:preferences#privacy > View Certificates > Authorities > Import. I verified that cert shows up after importing it. But I get errors despite of that:

Secure Connection Failed

An error occurred during a connection to www.youtube.com. Peer’s certificate has an invalid signature.

Error code: SEC_ERROR_BAD_SIGNATURE

Is there a way to bypass it?

Hi! I want to dump/debug http traffic with mitm proxy: https://github.com/ganskef/LittleProxy-mitm . This proxy generates it's own root certificate which i manually imported to Firefox from about:preferences#privacy > View Certificates > Authorities > Import. I verified that cert shows up after importing it. But I get errors despite of that: Secure Connection Failed An error occurred during a connection to www.youtube.com. Peer’s certificate has an invalid signature. Error code: SEC_ERROR_BAD_SIGNATURE Is there a way to bypass it?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

It turned out it was my fault. I took wrong cer from wrong place. With correct cert this proxy works fine and firefox is happy. Also it seems to be faster than mitmproxy that was written in python in case you need to performance.

Read this answer in context 👍 0

All Replies (1)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

It turned out it was my fault. I took wrong cer from wrong place. With correct cert this proxy works fine and firefox is happy. Also it seems to be faster than mitmproxy that was written in python in case you need to performance.