I have the following issue when I use a Access URL action: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
I have made the following tests:
Web site A and B are using a server certificate coming from the same CA
The CA Root certificate is registered in cacerts on Agent X
The CA Root certificate is not registered on agent Y
Access URL web site A
From Agent X: OK
From Agent Y: Cannot complete operation: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Access URL web site B
From Agent X: Cannot complete operation: Received fatal alert: handshake_failure
From Agent Y: Cannot complete operation: Received fatal alert: handshake_failure
Test with curl on website A
curl --cacert ca_root_certificate.pem web_site_A_URL
OK
Test with curl on web site B
curl --cacert ca_root_certificate.pem web_site_B_URL
OK
So, we can see that Access URL for Web site A is ok if the root ca is in the agent truststore, but it doesn't work for Web site B.
However, it works with curl, so I suspect the issue is on the agent side.
What could be the root cause ? How to troubleshot this issue ? (I don't have access to web site A or B servers).