Snippets tagged “truststore”
3 snippets use this tag.
- Error - trustAnchors parameter must be non-emptyJava
The trustAnchors parameter must be non-empty error typically occurs when you are trying to create an instance of the SSLContext class in Java and you pass an empty trust store as the trustAnchors parameter.
- How do I find out what keystore my JVM is using?Java
To find out which keystore the Java Virtual Machine (JVM) is using, you can use the javax.net.ssl.KeyManagerFactory class and the getDefaultAlgorithm method.
- How to solve javax.net.ssl.SSLHandshakeException Error?Java
The javax.net.ssl.SSLHandshakeException error is usually caused by a problem with the SSL/TLS certificate of the server you are trying to connect to.