Reputation: 11
I am getting below responce in result tree when record mobile app using j meter javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
Upvotes: 1
Views: 208
Reputation: 168072
You need to install JMeter's self-signed certificate onto your "mobile" device, the file is called ApacheJMeterTemporaryRootCA.crt
and it's generated in "bin" folder of your JMeter installation when you start HTTP(S) Test Script Recorder
Once done depending on your "mobile" operating system:
Android: amend network_security_config.xml file like this:
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates src="user" />
</trust-anchors>
</base-config>
then re-build your "mobile app" in debug mode and replace the version installed on the device
Upvotes: 1