You receive an exception message: “java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors’ What needs to be verified when this exception message is received?

Q16: You receive an exception message: “java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors’ What needs to be verified when this exception message is received?

A. Run this command to verify code.keystore has system certificates: keytool -list -stotetype JKS – keystore config\code.keystore

B. Run this command to verify code.truststore has system certificates: keytool -list -storetype JKS – keystore config\code.truststore

C. Run this command to verify cacerts has system certificates: keytool -list -storetype JKS -keystore security\cacerts

D. Run this command to verify code.certstore has system certificates: keytool -list -storetype JKS – keystore config\code.certstore

Answer: A

Leave a Reply

Your email address will not be published.