question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSLHandshakeException on java 8

See original GitHub issue

java version: 1.8.0_101 error: Exception in thread "main" java.lang.RuntimeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at com.splunk.HttpService.send(HttpService.java:451) at com.splunk.Service.send(Service.java:1295) at com.splunk.HttpService.post(HttpService.java:348) at com.splunk.Service.login(Service.java:1124) at com.splunk.Service.login(Service.java:1103) at com.splunk.Service.connect(Service.java:189) at com.splunk.examples.search_saved.Program.main(Program.java:61) Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at sun.security.ssl.Handshaker.activate(Handshaker.java:503) at sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1482) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) at com.splunk.HttpService.send(HttpService.java:445) ... 6 more More related info: https://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html https://blogs.oracle.com/java-platform-group/diagnosing-tls,-ssl,-and-https

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
shakeelmohamedcommented, Aug 17, 2018
1reaction
mviramgamacommented, Aug 17, 2018

Finally it worked. My mistake was that I was setting port value as 443 SSL. When I removed that port setting then TLSv1, TLSv1.1, TLSv1.2, custom all are working.

Thanks shakeelmohamed for your valuable help. Appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

security - SSL Handshake Failed - Java 1.8 - Stack Overflow
SSLHandshakeException : Received fatal alert: handshake_failure". Here are the steps I took to 'solve' this. First, I discovered which cipher the ...
Read more >
How to fix this error javax.net.ssl.SSLHandshakeException ...
This can be done either programmatically using the API System. setProperty(“jdk. security. allowNonCaAnchor”, “true” ) or can be set at as a ...
Read more >
SSL Handshake Failures - Baeldung
A focused tutorial on SSL handshake failures and how to fix them.
Read more >
SSLHandshakeException after upgrade from jdk1.8.0_45 to ...
I have a db server that uses H2 db. It has worked well since many years, and jdk's updates. However when after from...
Read more >
Debugging SSL Handshake Issues — CrafterCMS 3.1.27 ...
SSLHandshakeException : No appropriate protocol (protocol is disabled or cipher ... <init>(HandshakeContext.java:171) ~[?:1.8.0_292] at sun.security.ssl.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found