搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

more options

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.

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

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.