Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jvax.net.ssl.SSLException: exception resolution

Shulou Source: shulou.com Published: 2022-06-03 07:06:13 10月25日 Update

An error is reported at the backend and an exception is thrown:

Javax.net.ssl.SSLException: Server selected improper ciphersuite SSL_RSA_WITH_DES_CBC_SHA

At sun.security.ssl.Alerts.getSSLException (Unknown Source)

At sun.security.ssl.SSLSocketImpl.fatal (Unknown Source)

At sun.security.ssl.Handshaker.fatalSE (Unknown Source)

At sun.security.ssl.Handshaker.fatalSE (Unknown Source)

At sun.security.ssl.ClientHandshaker.serverHello (Unknown Source)

At sun.security.ssl.ClientHandshaker.processMessage (Unknown Source)

At sun.security.ssl.Handshaker.processLoop (Unknown Source)

At sun.security.ssl.Handshaker.process_record (Unknown Source)

At sun.security.ssl.SSLSocketImpl.readRecord (Unknown Source)

At sun.security.ssl.SSLSocketImpl.performInitialHandshake (Unknown Source)

At sun.security.ssl.SSLSocketImpl.startHandshake (Unknown Source)

At sun.security.ssl.SSLSocketImpl.startHandshake (Unknown Source)

At org.apache.http.conn.ssl.SSLSocketFactory.connectSocket (SSLSocketFactory.java:533)

At org.apache.http.conn.ssl.SSLSocketFactory.connectSocket (SSLSocketFactory.java:401)

At org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection (DefaultClientConnectionOperator.java:177)

At org.apache.http.impl.conn.ManagedClientConnectionImpl.open (ManagedClientConnectionImpl.java:304)

At org.apache.http.impl.client.DefaultRequestDirector.tryConnect (DefaultRequestDirector.java:610)

At org.apache.http.impl.client.DefaultRequestDirector.execute (DefaultRequestDirector.java:445)

At org.apache.http.impl.client.AbstractHttpClient.doExecute (AbstractHttpClient.java:863)

At org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:82)

At org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:57)

At login.schedule (login.java:188)

At login. (login.java:49)

At launch.main (launch.java:4)

Solution: if other servers do not report an error, you can copy a security file to the server jdk installation directory, which is usually under jre\ lib\ security, such as C:\ Program Files\ Java\ jdk1.8.0_131\ jre\ lib\ security, and then copy to the local jdk environment.

Tags: Server directory service background file method environment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Tech Info NVidia MySQL OPPO Reno