java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

GitHub | rogerhill01234 | 3 months ago
  1. 0

    2 way SSL authentication not working using Apache httpclient: JAVA

    Stack Overflow | 2 years ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    HttpComponents-Dev - [jira] [Updated] (HTTPCLIENT-1585) SSLContextBuilder does not preserve natural order of Trust / Key managers

    nabble.com | 1 year ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
  4. 0

    [jira] [Commented] (HTTPCLIENT-1585) Client certificate not submitted half the time

    hc-dev | 2 years ago | Oleg Kalnichevski (JIRA)
    javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate

  1. kid 540 times, last 5 months ago
  2. poroszd 1 times, last 9 months ago
97 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLHandshakeException

    Received fatal alert: bad_certificate

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    2. sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    3. sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
    4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
    5. sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1769)
    6. sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:124)
    7. sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1083)
    8. sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1222)
    9. sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1134)
    10. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:348)
    11. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    12. sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
    13. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
    14. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    15. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    16. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    16 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
    2. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
    4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    7. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
    11 frames
  4. com.ecwid.consul
    ConsulClient.getKVValues
    1. com.ecwid.consul.transport.AbstractHttpTransport.executeRequest(AbstractHttpTransport.java:75)
    2. com.ecwid.consul.transport.AbstractHttpTransport.makeGetRequest(AbstractHttpTransport.java:50)
    3. com.ecwid.consul.v1.ConsulRawClient.makeGetRequest(ConsulRawClient.java:81)
    4. com.ecwid.consul.v1.kv.KeyValueConsulClient.getKVValues(KeyValueConsulClient.java:150)
    5. com.ecwid.consul.v1.ConsulClient.getKVValues(ConsulClient.java:404)
    5 frames
  5. org.springframework.cloud
    PropertySourceBootstrapConfiguration.initialize
    1. org.springframework.cloud.consul.config.ConsulPropertySource.init(ConsulPropertySource.java:64)
    2. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.create(ConsulPropertySourceLocator.java:135)
    3. org.springframework.cloud.consul.config.ConsulPropertySourceLocator.locate(ConsulPropertySourceLocator.java:113)
    4. org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89)
    4 frames
  6. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:640)
    2. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:343)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    3 frames
  7. com.test
    TestApp.main
    1. com.test.TestApp.main(TestApp.java:23)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. Spring Boot Loader
    MainMethodRunner.run
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame