SSLHandShakeException No Appropriate Protocol

后端 未结 4 1096
后悔当初
后悔当初 2020-12-30 06:04

I recently added SSL to my website and it can be accessed over https. Now when my java application tries to make requests to my website and read from it with a buffered read

4条回答
  •  有刺的猬
    2020-12-30 06:33

    In $JRE/lib/security/java.security:

    jdk.tls.disabledAlgorithms=SSLv3, TLSv1, RC4, DES, MD5withRSA, DH keySize < 1024, \
    EC keySize < 224, 3DES_EDE_CBC, anon, NULL
    

    This line is enabled, after I commented out this line, everything is working fine. Apparently after/in jre1.8.0_181 this line is enabled.

    My Java version is "1.8.0_201.

提交回复
热议问题