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

前端 未结 3 1392

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

    I've had a similar issue with this error. In my case, I was entering the incorrect password for the Keystore.

    I changed the password for the Keystore to match what I was entering (I didn't want to change the password I was entering), but it still gave the same error.

    keytool -storepasswd -keystore keystore.jks
    

    Problem was that I also needed to change the Key's password within the Keystore.

    When I initially created the Keystore, the Key was created with the same password as the Keystore (I accepted this default option). So I had to also change the Key's password as follows:

    keytool -keypasswd  -alias my.alias -keystore keystore.jks
    

提交回复
热议问题