'J meter - Mobile app recording - SSL HandshakeException
I am getting below responce in result tree when record mobile app using j meter javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
Solution 1:[1]
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dmitri T |