MichalHecko / SSLPoke

Java tool for testing validity (certificates) of trust stores

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request user friendly errors

iddq opened this issue · comments

commented

Hello

Is it possible to send more user-friendly error in case of missing or wrong keystore password?

java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)

OR

javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty