I have installed Jmeter by the homebrew method. For doing performance testing of mobile app, I need to install the ApacheJMeterTemporaryRootCA.crt, which I can't locate in the said jMeter\bin directory. I searched by the name on my mac but unable to locate it. I have followed all the steps are mentioned here.

4 Answers 4


The file is being generated when you start JMeter's HTTP(S) Test Script Recorder, if you haven't started it ever - you will not find the file anywhere.

If you started the proxy server you should be able to find the ApacheJMeterTemporaryRootCA.crt

  • either under "bin" folder of your JMeter installation if you installed it manually from JMeter Downloads page
  • or under /usr/local/Cellar/jmeter/x.x/libexec/bin/ folder if you installed JMeter using Homebrew (where x.x stands for JMeter version)

In case of more "exotic" JMeter installation or execution scenarios you can search your whole system from the Terminal application with the following command:

sudo find / -name ApacheJMeterTemporaryRootCA.crt

Be aware of the alternative way of recording a JMeter test, in this case you won't have to worry about proxies and SSL certificates, moreover it automatically detects any dynamic elements and performs correlation by adding the relevant Regular Expression Extractors. Check out How to Cut Your JMeter Scripting Time by 80% article for more details.


You can use the bash command which to find out the directory of a program.

which JMeter 

Check here for more details.

  • Hi Bharat, which command returns me /usr/local/bin/Jmeter as Jmeter path but when I try to search ApacheJMeterTemporaryRootCA.crt in the /usr/local/bin $ find ApacheJMeterTemporaryRootCA.crt find: ApacheJMeterTemporaryRootCA.crt: No such file or directory
    – Vaishali
    Oct 30, 2017 at 3:34
  • Per the tutorial doc you linked, it should be in jmeter/bin, i.e try usr/local/bin/jmeter/bin
    – HaC
    Oct 30, 2017 at 4:21
  • Also, your usage of find was wrong. It should be find [path to search in] -name [filename], i.e find /usr/local/bin/jmeter/bin -name ApacheJMeterTemporaryRootCA.crt
    – HaC
    Oct 30, 2017 at 4:34

If you've installed Jmeter via brew you'll need to

open /usr/local/bin/jmeter

to get jmeter up and running.

which means you bin dir is at /usr/local/bin

On a side note, please consider using google, because this is one of the easiest ways to get answers.

  • yes..I am getting this directory from Terminal but find ApacheJMeterTemporaryRootCA.crt is not successful. How to install this certificate to proceed ahead for mobile script recording for performance testing,
    – Vaishali
    Oct 30, 2017 at 3:47

Run the jmeter for the 1st time then cat the log file and you will see:

$ cat jmeter.log
Loading user properties from: /usr/local/Cellar/jmeter/5.3/libexec/bin/user.properties
Loading system properties from: /usr/local/Cellar/jmeter/5.3/libexec/bin/system.properties

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.