Uploaded image for project: 'ZZZ-WSO2 API Manager'
  1. ZZZ-WSO2 API Manager
  2. APIMANAGER-4268

javax.net.ssl.SSLException: Received fatal alert: unknown_ca error thrown intermittently when invoking the methods of an API via API console

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: 1.10.0-alpha
    • Fix Version/s: None
    • Component/s: store
    • Labels:
      None
    • Environment:

      Pack : wso2am-1.10.0-alpha
      Java version : Oracle jdk 1.7.0
      DB Version : embedded H2
      OS : Ubuntu 14.04 LTS
      Browser : Firefox 40.0.3

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      No

      Description

      Steps to recreate :

      1. Create and publish an API.
      2. Subscribe to API.
      3. Go to API console and Invoke it's methods.

      No response was shown in console.
      Below error can be seen in APIM logs.

       ERROR - SourceHandler I/O error: Received fatal alert: unknown_ca
      javax.net.ssl.SSLException: Received fatal alert: unknown_ca
      	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
      	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1639)
      	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1607)
      	at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1776)
      	at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1068)
      	at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:890)
      	at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:764)
      	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
      	at org.apache.http.nio.reactor.ssl.SSLIOSession.doUnwrap(SSLIOSession.java:228)
      	at org.apache.http.nio.reactor.ssl.SSLIOSession.decryptData(SSLIOSession.java:359)
      	at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:394)
      	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
      	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:586)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              nuwand@wso2.com Nuwan Dias
              Reporter:
              nayomi@wso2.com Nayomi Dayarathne
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: