<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Integrating QRS API with signed certificate while still retaining Hub access? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1753216#M13384</link>
    <description>&lt;P&gt;I'm working on integrating the QRS API in our application. I've gotten the basics down and can call /app and /task without a problem. In Postman, I can do it by disabling SSL verification. Replicating that in our application wasn't too much trouble until I ran into the certificate verficiation issue. I'd like to avoid an insecure connection and use the signed certificate we already have so the REST call can do its work without a problem.&lt;/P&gt;&lt;P&gt;The problem with that is it returns "PKIX path building failed" or "No trusted certificate found". I managed to solve this by using "add sslcert ipport=xx.xx.xx.xx:4242 certhash=abcd appid={1234}"&amp;nbsp; and having both the Qlik self-signed cert + our signed cert on the same port. Postman works with SSL verfication on after t hat. Unfortunately, this causes the Hub to be inaccessible with "Error: unable to get local issuer certificate" when it tries to call /qrs/license...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried "add sslcert ipport=127.0.0.1:4242...."&amp;nbsp; or localhost. I've tried accessing the hub by using localhost/hub and 127.0.0.1/hub but all the same result. The only solution is to remove the certificate from that port so only the Qlik one remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to call QRS with a &lt;EM&gt;signed&lt;/EM&gt; certificate? Could I force QRS api to listen to more than 1 or a different port? Or will I have to make that custom Java action so I can ping QRS without SSL verfication?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:17:15 GMT</pubDate>
    <dc:creator>Jim</dc:creator>
    <dc:date>2024-11-16T01:17:15Z</dc:date>
    <item>
      <title>Integrating QRS API with signed certificate while still retaining Hub access?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1753216#M13384</link>
      <description>&lt;P&gt;I'm working on integrating the QRS API in our application. I've gotten the basics down and can call /app and /task without a problem. In Postman, I can do it by disabling SSL verification. Replicating that in our application wasn't too much trouble until I ran into the certificate verficiation issue. I'd like to avoid an insecure connection and use the signed certificate we already have so the REST call can do its work without a problem.&lt;/P&gt;&lt;P&gt;The problem with that is it returns "PKIX path building failed" or "No trusted certificate found". I managed to solve this by using "add sslcert ipport=xx.xx.xx.xx:4242 certhash=abcd appid={1234}"&amp;nbsp; and having both the Qlik self-signed cert + our signed cert on the same port. Postman works with SSL verfication on after t hat. Unfortunately, this causes the Hub to be inaccessible with "Error: unable to get local issuer certificate" when it tries to call /qrs/license...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried "add sslcert ipport=127.0.0.1:4242...."&amp;nbsp; or localhost. I've tried accessing the hub by using localhost/hub and 127.0.0.1/hub but all the same result. The only solution is to remove the certificate from that port so only the Qlik one remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to call QRS with a &lt;EM&gt;signed&lt;/EM&gt; certificate? Could I force QRS api to listen to more than 1 or a different port? Or will I have to make that custom Java action so I can ping QRS without SSL verfication?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1753216#M13384</guid>
      <dc:creator>Jim</dc:creator>
      <dc:date>2024-11-16T01:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating QRS API with signed certificate while still retaining Hub access?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1753317#M13386</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/51665"&gt;@Jim&lt;/a&gt;&amp;nbsp;: Short answer: no. You cannot swap the internal certificates to one validated from an internal or external PKI.&lt;/P&gt;&lt;P&gt;Longer answer: This&amp;nbsp;&lt;EM&gt;shouldn't&lt;/EM&gt; be an issue for an integration. I am not a Java guy in the least*, but insofar as you are on a modern version of Qlik Sense, you should be able to bundle the client and root into a JKS which allows for chain validation to the root. The reason why I qualify the modern bit is that on modern JDK versions (I worked with a customer who hit this going from JDK 1.7 to 1.8), the root needs to have a specific attribute on the certificate which earlier builds of Qlik Sense did not add. See&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000075724" target="_blank"&gt;https://support.qlik.com/articles/000075724&lt;/A&gt;&amp;nbsp;for a pointer.&lt;/P&gt;&lt;P&gt;From my notes from the engagement I had with the customer, the except they hit was something like:&lt;/P&gt;&lt;P&gt;IdatActionHelper:getQlikSenseTicket:Directory:IOException:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: sun.security.validator.ValidatorException: TrustAnchor with subject "CN=&amp;lt;ServerName&amp;gt;-CA" is not a CA certificate ]&lt;/P&gt;&lt;P&gt;If that's the case, then ideally you'd be able to upgrade to either Feb2020 or April2020 to have the installer resolve this issue. From there, re-export the root and client, bundle into the Java side and you should be good to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* So I cannot answer Java specific techniques or modules or approaches&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 17:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1753317#M13386</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-10-16T17:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating QRS API with signed certificate while still retaining Hub access?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1755514#M13426</link>
      <description>&lt;P&gt;Solved! I added the root.pem/root.cer file as the Authority and that validates the certificate for our server. I've completed the integration for some basic calls such as starting/stopping tasks and retrieving app statuses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for mentioning the 1.7 to 1.8 thing. We run java 1.8 (Adopt Open JDK &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; so we'll have no transition issue if all goes well.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Integrating-QRS-API-with-signed-certificate-while-still/m-p/1755514#M13426</guid>
      <dc:creator>Jim</dc:creator>
      <dc:date>2020-10-23T15:14:00Z</dc:date>
    </item>
  </channel>
</rss>

