1

I installed Jmeter on my mac using brew. I did setup my Jmeter for script recording and started scripting recording. I got a popup saying:

Root CA certificate ApacheJMeterTemporaryRootCA created in JMeter bin directory
You can install it following instructions in Component Reference documentation
See Installing the JMeter CA certificate for HTTPS recording paragraph.

But when I looked into the Jmeter directory /usr/local/Cellar/jmeter/5.3/bin/ and /usr/local/Cellar/jmeter/5.3/libexec/bin/, I could not find the ApacheJMeterTemporaryRootCA. Am I looking at right place or am I missing any step?

BSMP
  • 4,596
  • 8
  • 33
  • 44
Infs
  • 151
  • 2
  • 5
  • https://stackoverflow.com/a/76617557/15446248 this is a s olution i found while going through this issue on mac. – Uzi Cohen Jul 05 '23 at 08:29

1 Answers1

3

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.

And last but not the least you can search your hard drive(s) for the certificate using find command like:

find / -type f -name ApacheJMeterTemporaryRootCA.crt

it will print the location(s) of all the file(s) matching this name which are present in your filesystem

By the way there is an alternative way of recording a JMeter test - JMeter Chrome Extension, in this case you won't have to worry about proxies and certificates, just follow your test scenario in the browser and you will be able to export the recording in form of JMeter .jmx script

Dmitri T
  • 159,985
  • 5
  • 83
  • 133