问题
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
回答1:
There is no need to install JMeter Certificate in Windows system storage, just in browser.
So, check that you have done every step:
- Remove all old certificates from browser and windows.
- Press Start record in HTTP(S) Test Script Recorder.
- Install new just created certificate in your browser (ApacheJMeterTemporaryRootCA.crt located in your JMeter bin directory).
- Do actions with your web application to record requests.
How to remove old and add new certificates in Firefox:
- Start Firefox
- Open menu
- Options
- Privacy & Security
- View Cerificates
- 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.
- Click Import.
- Navigate to your JMeter bin dir and choose ApacheJMeterTemporaryRootCA.crt file.
- Check Trust this CA to identify websites.
- Press Ok
来源:https://stackoverflow.com/questions/54198462/how-to-fix-issue-error-code-sec-error-unknown-issuer-with-jmeter-and-firefox