Search code examples
jmeter-5.0

How to fix issue "Error code: SEC_ERROR_UNKNOWN_ISSUER" with JMeter and Firefox


I have installed the JMeter and Firefox. when I'm recording the script it is throwing an Error code: SEC_ERROR_UNKNOWN_ISSUER and I have installed the certificate in both Firefox as well as in the system

I"m using windows Machine and working on JMeter tool. Freshly installed JMeter and Firefox and installed the certificate in both machine as well as on the browser but event then it is throwing an Error code: SEC_ERROR_UNKNOWN_ISSUER


Solution

  • There is no need to install JMeter Certificate in Windows system storage, just in browser.

    So, check that you have done every step:

    1. Remove all old certificates from browser and windows.
    2. Press Start record in HTTP(S) Test Script Recorder.
    3. Install new just created certificate in your browser (ApacheJMeterTemporaryRootCA.crt located in your JMeter bin directory).
    4. Do actions with your web application to record requests.

    enter image description here

    How to remove old and add new certificates in Firefox:

    1. Start Firefox
    2. Open menu
    3. Options
    4. Privacy & Security
    5. View Cerificates
    6. Ensure there are no certificates with names "_DO NOT INSTALL..", "DO NOT INSTALL..", "JMETER.." and other related to JMeter cerificates, or Delete them if they present.
    7. Click Import.
    8. Navigate to your JMeter bin dir and choose ApacheJMeterTemporaryRootCA.crt file.
    9. Check Trust this CA to identify websites.
    10. Press Ok

    enter image description here