'Problem with Jmeter certificate to record a test
I'm trying to record a test, but when I install my certificate by Jmeter in the chrome, when I access the site that I want to record, chrome return me this:
But my certificate that I installed before access the site is 100% valid:
Other points:
I already made the Jmeter HTTPS proxy route configuration;
I already made the Windows/Browser proxy route configuration;
I installed the certificate correctly.
I don't know why my browser is not looking for the valid certificate and even without any certificate installed, still looks to this invalid certificate
Solution 1:[1]
If this is blocking you please install the certificate on Firefox and proceed with recording after setting the proxy.
- Open Firefox
- Type about:prefrences in the address bar
- Search for certificates in search box
- Click on View Certificate button
- Select Authorities tab
- Click on Import button
- Select the certificate from your JMeter/bin folder
- Check the first option in the popup (Trust CA to identify the websites)
- Click OK
Solution 2:[2]
Chrome warns you because JMeter's certificate is self-signed and it cannot be validated against trusted CA
The options are in:
Ignore this error, the options are in:
Click "Proceed to unsafe" (if it's available)
Launch Chrome with
--ignore-certificate-errorscommand-line argument:- type
badideaanywhere at the page
Add JMeter's self-signed certificate to Windows Trusted Root Certification Authorities:
Solution 3:[3]
Mac OSX instructions for this were nowhere to be found.
On a Mac, just import "the root cert" from the Jmeter bin directory and into your "Keychain Access" tool. If you have to, you can use a tool called "Keystore Explorer" to convert the .crt file to a .cer before you do that import.
Then, you have to mark the cert trusted like this:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Janesh Kodikara |
| Solution 2 | Dmitri T |
| Solution 3 | djangofan |






