"No appropriate protocol (protocol is disabled or cipher suites are inappropriate)"


 

Hello,





If you are encountering an error as in the title while creating a connection pool for GlassFish or Payara Server, you can fix the problem by editing as follows.



If you using Java 1.8, go to directory

..\Java\jre1.8.0_261\lib\security

If you using Java 11 or 17,

..\Java\jdk-11.0.15\conf\security\

Find the file java.security.

Find the lines

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

And put # before each line, and save it.

Yorum Gönder

0 Yorumlar