0 Replies Latest reply: Jun 28, 2016 11:15 AM by Tina Ronafalvy RSS

    Error trying to navigate to Qlik Sense app from customer portal

    Tina Ronafalvy

      I have a customer web site that is going to contain links to our Qlik Sense apps.  The customer portal handles all of the user authentication.  When the user clicks one of the links, the Qlik Sense app needs to open in a new browser tab without asking the user to login again.

       

      We have followed the instructions in the Access Control Test Module and this is working fine.  https://github.com/flautrup/AccessControlTestModule

       

      However, when we try to implement this in java from our customer website, we get the following errors:

       

      _javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      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.serverCertificate(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 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.getOutputStream0(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
      at Ticket.main(Ticket.java:62)
      Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

       

      This is the exact issue that I found posted here:  https://github.com/goldbergjeffrey/QlikSenseTicket.java/issues/1


      We have worked through the 3 potential issues listed there and all seem to be set up properly.  The poster of that issue got it working, but never said what the issue was.


      Any ideas?

      Thank you!


      -Tina