I am new to JMeter. I believe I have installed it successfully and I am running through the script recorder setup (http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf). When I start the JMeter proxy server which is used to intercept the browser requests a file called ApacheJMeterTemporaryRootCA.crt should be generated in jmeter/bin folder. It isn't. So, I cannot move on to Install the JMeter CA certificate for HTTPS recording, or for that matter configure my browser. Is there any known reason why the JMeter certificate would fail to be generated?
ApacheJMeterTemporaryRootCA.crt not generated
41.3k views Asked by QualiT AtThere are 8 answers
I had a similar issue please follow below steps,
1.Reinstall java, update the environment variables JAVA_HOME
2.Check the java version and make sure you don't get anything extra other than C:>java -version java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) Client VM (build 25.144-b01, mixed mode) in case if you find anything addition , remove them from environment variables.
5.Run Jmeter , you should be getting root certification
We had the same problem. It appeared that the keytool.exe file that was being called by JMeter to generate the certificate, was located in a directory that had no write access. Initially the certificate is generated relatively to the location of keytool.exe (which is in java/bin), and then it is moved into the jmeter/bin directory.
We were able to fix it by copying the java installation directory into de jmeter directory and set write access. Then start JMeter with java pointing to the copied version.
Don't forget to remove proxyserver.jks before you try again
I solved it by removing ApacheJMeterTemporaryRootCA.crt
, ApacheJMeterTemporaryRootCA.usr
and proxyserver.jks
from the bin directory of JMeter.
https://mail-archives.apache.org/mod_mbox/jmeter-issues/201401.mbox/%[email protected]/bugzilla/%3E
I was having the same issue - the root certificate was not found under the jmeter/bin directory. It was created in this path
C:\VTRoot\HarddiskVolume3\Users{UserName}\Downloads\apache-jmeter-2.12\bin
I had to import it to firefox
Windows 7 Professional - 64 bit Java 7 - 64 bit Jmeter Version 2.12
You are probably using Java 6 , in this case no ApacheJMeterTemporaryRootCA is generated.
To know if you are using Java 7: - If HTTPS Domains is read only you are in JDK6 - If HTTPS Domains is writable you are using JDK7
Ensure you follow this:
https://wiki.apache.org/jmeter/TestRecording210
http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder