I am testing SSL in java with SSLServerSocket and other classes in the java.ssl package. When I run the following code, I get the exception java.io.IOException: Invalid keys
I was seeing this exception:
Invalid keystore format
while running a java application using JRE-1.8.0_40 on CentOS 6.6 64-bit linux.
On using JRE-1.8.0_172, the exception went away.