<?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 Qlik Certificate Error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Certificate-Error/m-p/113163#M1547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to get a ticket-id from the qlik api for severaly days now and it seems i can't get any further with this on my own..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i exportet the certificate as pem files from the qms and stored them locally.&lt;/P&gt;&lt;P&gt;Now i want to make a php/curl post request for getting a ticket. My code looks as follows.(quite similar to the example i found in the documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$urlbase &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://myserver:4243/qps/ticket" rel="nofollow" target="_blank"&gt;https://myserver:4243/qps/ticket&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$xrf &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"0123456789abcdef"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$urlbase &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;. &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"?Xrfkey="&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$xrf&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;//Set up the required headers&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_init(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertfile &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"mypathto\&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;client.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertkeyfile &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"mypathto&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;\client_key.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRsRoot &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"SSL\croot.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$headers &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"UserId"&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"Administrator"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"UserDirectory"&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;=&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"CENTRAL"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;//Create Connection using Curl&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_init(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_RETURNTRANSFER&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLINFO_HEADER_OUT&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_POSTFIELDS&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$headers&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSLCERT&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertfile&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSLKEY&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertkeyfile&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSL_VERIFYPEER&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSL_VERIFYHOST&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_CERTINFO&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb; background-color: #232525;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$response &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_exec(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;print_r([curl_getinfo(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$response&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;])&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The response i get is a 403, with the following informations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[http_code] =&amp;gt; 403 [header_size] =&amp;gt; 254 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[request_size] =&amp;gt; 204 [filetime] =&amp;gt; -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; [ssl_verify_result] =&amp;gt; 20 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[redirect_count] =&amp;gt; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[total_time] =&amp;gt; 0.312 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[namelookup_time] =&amp;gt; 0.094 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[connect_time] =&amp;gt; 0.125 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[pretransfer_time] =&amp;gt; 0.281 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[size_upload] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[size_download] =&amp;gt; 55 [speed_download] =&amp;gt; 55 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[speed_upload] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[download_content_length] =&amp;gt; -1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[upload_content_length] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[starttransfer_time] =&amp;gt; 0.281&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; [redirect_time] =&amp;gt; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[certinfo] =&amp;gt; Array ( [0] =&amp;gt; Array ( [Subject] =&amp;gt; CN = qlik-sense [Issuer] =&amp;gt; CN = qlik-sense-CA [Version] =&amp;gt; 2 [Serial Number] =&amp;gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;after serial number follows a lot of cryptic information, which is why i guess that the certificate is found and used..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;the response body contains this information:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;XSRF prevention check failed. Possible XSRF discovered. ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;so, i would be really grateful if someone could tell me the reason for this issue. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is there a need to give curl the other pem files (server,server_key,root) and how do i do this? Or is anything wrong with my xrf-syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I googled a lot, but couldn't find a proper solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;I managed to find whats wrong with my XRF, had to mention it in the header. But the Certificate Problem isn't solved yet.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Edit2:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Added the root certificate to my cacert.pem, now i get ssl_verify_result 0 instead of twenty. But still responsecode 400. I&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2018 08:51:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-07T08:51:58Z</dc:date>
    <item>
      <title>Qlik Certificate Error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Certificate-Error/m-p/113163#M1547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to get a ticket-id from the qlik api for severaly days now and it seems i can't get any further with this on my own..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i exportet the certificate as pem files from the qms and stored them locally.&lt;/P&gt;&lt;P&gt;Now i want to make a php/curl post request for getting a ticket. My code looks as follows.(quite similar to the example i found in the documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$urlbase &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://myserver:4243/qps/ticket" rel="nofollow" target="_blank"&gt;https://myserver:4243/qps/ticket&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$xrf &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"0123456789abcdef"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$urlbase &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;. &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"?Xrfkey="&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$xrf&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;//Set up the required headers&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_init(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertfile &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"mypathto\&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;client.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertkeyfile &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"mypathto&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;\client_key.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRsRoot &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"SSL\croot.pem"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$headers &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;array&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"UserId"&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"Administrator"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"UserDirectory"&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;=&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759; background-color: #232525;"&gt;"CENTRAL"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; background-color: #232525;"&gt;//Create Connection using Curl&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_init(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$url&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_RETURNTRANSFER&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLINFO_HEADER_OUT&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_POSTFIELDS&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$headers&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSLCERT&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertfile&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSLKEY&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$QRSCertkeyfile&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSL_VERIFYPEER&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_SSL_VERIFYHOST&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;curl_setopt(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525; font-style: italic;"&gt;CURLOPT_CERTINFO&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb; background-color: #232525;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$response &lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;= curl_exec(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;print_r([curl_getinfo(&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$ch&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa; background-color: #232525;"&gt;$response&lt;/SPAN&gt;&lt;SPAN style="background-color: #232525;"&gt;])&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; background-color: #232525;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The response i get is a 403, with the following informations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[http_code] =&amp;gt; 403 [header_size] =&amp;gt; 254 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[request_size] =&amp;gt; 204 [filetime] =&amp;gt; -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; [ssl_verify_result] =&amp;gt; 20 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[redirect_count] =&amp;gt; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[total_time] =&amp;gt; 0.312 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[namelookup_time] =&amp;gt; 0.094 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[connect_time] =&amp;gt; 0.125 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[pretransfer_time] =&amp;gt; 0.281 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[size_upload] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[size_download] =&amp;gt; 55 [speed_download] =&amp;gt; 55 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[speed_upload] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[download_content_length] =&amp;gt; -1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[upload_content_length] =&amp;gt; 263 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[starttransfer_time] =&amp;gt; 0.281&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; [redirect_time] =&amp;gt; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;[certinfo] =&amp;gt; Array ( [0] =&amp;gt; Array ( [Subject] =&amp;gt; CN = qlik-sense [Issuer] =&amp;gt; CN = qlik-sense-CA [Version] =&amp;gt; 2 [Serial Number] =&amp;gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;after serial number follows a lot of cryptic information, which is why i guess that the certificate is found and used..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;the response body contains this information:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;XSRF prevention check failed. Possible XSRF discovered. ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;so, i would be really grateful if someone could tell me the reason for this issue. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is there a need to give curl the other pem files (server,server_key,root) and how do i do this? Or is anything wrong with my xrf-syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I googled a lot, but couldn't find a proper solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Edit: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;I managed to find whats wrong with my XRF, had to mention it in the header. But the Certificate Problem isn't solved yet.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Edit2:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Added the root certificate to my cacert.pem, now i get ssl_verify_result 0 instead of twenty. But still responsecode 400. I&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 08:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Certificate-Error/m-p/113163#M1547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-07T08:51:58Z</dc:date>
    </item>
  </channel>
</rss>

