I have been trying to record a google cloud hosted application from my company based VM. I am using proxy to reach the website to record the flow. Jmeter version is 5.4.3 with Azul Zulu JDK 11.76.21
I have all connection open and also network team verified no blocks from VM to this URl.
When i start recording, I can navigate to third party site e.g. microsoft.com , but when i try to reach my target application, i get below error. First i get connection reset error then if i refresh then i get below unknown CA error.
I have applied Jmeter client certificate and places under Trusted CA folder, but still no luck. Also changed https.socket.protocol values from (SSLv2, 3, TLS, TLS1 etc) and currently using TLSv1.3.
After all these still this issue is not going away and not able to record any step at all.
javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
from Jmeter ---> target url
download the CA/chain from target url from browser, and add it to the JVM/JAVA ca, on which Jmeter is running.
or start the jmeter with trust store where you have uploaded the certificate and its corresponding CA
-Djavax.net.ssl.trustStore=path/to/your/truststore.jks -Djavax.net.ssl.trustStorePassword=your_password
jmeter -n -t test_plan.jmx -l result.jtl -Djavax.net.ssl.trustStore=path/to/your/truststore.jks -Djavax.net.ssl.trustStorePassword=your_password