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.
Let's start clean:
ApacheJMeterTemporaryRootCA.crtfile in "bin" folder of your JMeter installation
Create a test plan using Recording Template feature (from main menu choose
File -> Templates -> Recordingand click "Create"
Open HTTP(S) Test Script Recorder and click "Start"
Provide the domain you're recording
Once HTTP(S) Test Script Recorder starts JMeter should re-generate
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?
Just in case clear your browsing data fully, see Recording HTTPS Traffic with JMeter's Proxy Server article for more details.
Just in case apply the following settings to the Certificates tab of Firefox:
Configure Firefox to use JMeter as the proxy:
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.