javax.net.ssl.SSLHandshakeException

Received fatal alert: bad_certificate

Samebug tips1

Import the server certificate into your truststore.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web697

  • via openas2 by mpilon
    ,
  • Stack trace

    • javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.SSLSocketImpl.recvAlert(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 sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source) at org.openas2.processor.sender.AS2SenderModule.sendMessage(Unknown Source) at org.openas2.processor.sender.AS2SenderModule.handle(Unknown Source) at org.openas2.processor.DefaultProcessor.handle(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.processFile(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.updateTracking(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.poll(Unknown Source) at org.openas2.processor.receiver.PollingModule$PollTask.run(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    132 more bugmates