While recording scripts in JMeter, Mozilla Fire Fox is not accepting the JMeter certificate. I've all the settings configured correctly (Fire Fox's Proxy settings and importing JMeter certificate to Fire Fox). Note that I've the latest versions of everything (JMeter, Fire Fox as well as Java 16). I have tried re-installing JMeter, Fire Fox but it still not working. I have enabled "network.proxy.allow_hijacking_localhost" but its still not working. The only scripts that are being recorded are of Mozilla's certificate rejection. Please Help me out as using any any extension like Blazemeter is not an option.

1 Answer 1


Let's start clean:

  1. Delete ApacheJMeterTemporaryRootCA.crt file in "bin" folder of your JMeter installation

  2. Open JMeter

  3. Create a test plan using Recording Template feature (from main menu choose File -> Templates -> Recording and click "Create"

  4. Open HTTP(S) Test Script Recorder and click "Start"

  5. Provide the domain you're recording

  6. Once HTTP(S) Test Script Recorder starts JMeter should re-generate ApacheJMeterTemporaryRootCA.crt file

  7. In Firefox under "Certificate" section open Authorities tab, click "Import" and locate JMeter's certificate. During importing make sure to tick Trust this CA to identify websites. More information: How do I install a certificate?

    enter image description here

  8. Just in case clear your browsing data fully, see Recording HTTPS Traffic with JMeter's Proxy Server article for more details.

  9. Just in case apply the following settings to the Certificates tab of Firefox:

    enter image description here

  10. Configure Firefox to use JMeter as the proxy:

    enter image description here

  11. That's it, you should be able to record now

If anything goes wrong make sure to check jmeter.log file first, it should contain enough troubleshooting information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.