javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
1. The Java Program loads the Agent Keystore and initiates SSL Handshake to the HOST Server provided through command line.
2. Upon receiving SSLHandshakeException, the program then adds the chain of certificates sent by the HOST server (for validation) into Cacerts as trusted certificates.
What can we do to improve this information (2000 or fewer characters)