Resolving error "sun.security.validator.ValidatorException: TrustAnchor with subject "CN=***, L=***, O=***" is not a CA certificate"
Issue
- After uprading to OpenJDK 1.8u242 or later getting ValidatorException for self signed certificates added to cacerts or keystore specified with javax.net.ssl.trustStore
Environment
- OpenJDK 1.8u242 or later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.