Java NoSuchAlgorithmException - SunJSSE, sun.security.ssl.SSLContextImpl$DefaultSSLContext

前端 未结 3 1377

Background

I have been using the Authorize.net SDK in an Eclipse project of it\'s own. Everything was working great. I then needed to add it to my m

3条回答
  •  独厮守ぢ
    2020-12-18 18:46

    Well after doing some more searching I discovered the error may be related to other issues as invalid keystores, passwords etc.

    I then remembered that I had set two VM arguments for when I was testing SSL for my network connectivity.

    I removed the following VM arguments to fix the problem:

    -Djavax.net.ssl.keyStore=mySrvKeystore -Djavax.net.ssl.keyStorePassword=123456
    

    Note: this keystore no longer exists so that's probably why the Exception.

提交回复
热议问题