Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ApacheJMeterTemporaryRootCA.crt not generated

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?

like image 276
QualiT Avatar asked Jan 10 '14 19:01

QualiT


People also ask

Where is Jmeter certificate on Mac?

According to the jmeter formula it should be under $HOMEBREW_PREFIX/Cellar/jmeter/$YOUR_JMETER_VERSION_HERE/libexec/bin/ , the file is called ApacheJMeterTemporaryRootCA. crt . Where $HOMEBREW_PREFIX is the environment variable, if it's not defined you can check it using brew --prefix command.

How can we increase validity of certificate in Jmeter?

Delete any existing <JMETER_HOME> / bin / ApacheJMeterTemporaryRootCA. crt, And restart JMeter.


2 Answers

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

like image 190
Martin Braun Avatar answered Sep 18 '22 07:09

Martin Braun


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

like image 32
UBIK LOAD PACK Avatar answered Sep 18 '22 07:09

UBIK LOAD PACK