SSL Java java.io.IOException: Invalid keystore format

后端 未结 5 846
忘掉有多难
忘掉有多难 2020-12-15 23:08

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

5条回答
  •  抹茶落季
    2020-12-15 23:48

    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.

提交回复
热议问题