<?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>article 3rd party certificate shows Current version of .NET cannot directly access private key for certificate CN=domain address in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/3rd-party-certificate-shows-Current-version-of-NET-cannot/ta-p/1711121</link>
    <description>&lt;P&gt;The following can be seen after applying a 3rd party certificate:&lt;BR /&gt;&lt;BR /&gt;Warning message in the &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;*_Security_Proxy.*&lt;/SPAN&gt;&amp;nbsp;trace log:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;WARN ... Current version of .NET cannot directly access private key for certificate 'CN=domain address' (XXXXXXXXXXXXXX)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Users could see:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Error 500: Internal Server Error&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CNG certificate support is not fully implemented while CryptoAPI is fully supported. So the certificate needs to be converted before it will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Use OpenSSL to convert the 3rd party certificate to the CryptoAPI format. The resulting CryptoAPI format will be accepted by Qlik Sense.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1.) Convert the certificate first from PFX in CNG format to PEM&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;openssl pkcs12 -in 3rdparty-cngformat.pfx -out 3rdparty.pem&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;2.) Convert it back from PEM to PFX getting PFX in CryptoAPI format&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;openssl pkcs12 -export -in 3rdparty.pem -out applytoSense.pfx&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;More information can be found here&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/seccertenroll/understanding-cryptographic-providers" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/windows/win32/seccertenroll/understanding-cryptographic-providers&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 13:36:09 GMT</pubDate>
    <dc:creator>Sebastian_Linser</dc:creator>
    <dc:date>2021-07-05T13:36:09Z</dc:date>
    <item>
      <title>3rd party certificate shows Current version of .NET cannot directly access private key for certificate CN=domain address</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/3rd-party-certificate-shows-Current-version-of-NET-cannot/ta-p/1711121</link>
      <description>&lt;P&gt;The following can be seen after applying a 3rd party certificate:&lt;BR /&gt;&lt;BR /&gt;Warning message in the &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;*_Security_Proxy.*&lt;/SPAN&gt;&amp;nbsp;trace log:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;WARN ... Current version of .NET cannot directly access private key for certificate 'CN=domain address' (XXXXXXXXXXXXXX)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Users could see:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Error 500: Internal Server Error&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;Environment:&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CNG certificate support is not fully implemented while CryptoAPI is fully supported. So the certificate needs to be converted before it will work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Use OpenSSL to convert the 3rd party certificate to the CryptoAPI format. The resulting CryptoAPI format will be accepted by Qlik Sense.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1.) Convert the certificate first from PFX in CNG format to PEM&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;openssl pkcs12 -in 3rdparty-cngformat.pfx -out 3rdparty.pem&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;2.) Convert it back from PEM to PFX getting PFX in CryptoAPI format&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;openssl pkcs12 -export -in 3rdparty.pem -out applytoSense.pfx&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;More information can be found here&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/seccertenroll/understanding-cryptographic-providers" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/windows/win32/seccertenroll/understanding-cryptographic-providers&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 13:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/3rd-party-certificate-shows-Current-version-of-NET-cannot/ta-p/1711121</guid>
      <dc:creator>Sebastian_Linser</dc:creator>
      <dc:date>2021-07-05T13:36:09Z</dc:date>
    </item>
  </channel>
</rss>

