<?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 Qlik Sense Logging Service does not have support for SSL Database traffic encryption in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logging-Service-does-not-have-support-for-SSL/ta-p/1715607</link>
    <description>&lt;BLOCKQUOTE class="quote"&gt;Centralized logging has been deprecated with the Qlik Sense Enterprise on Windows May 2021 release. This article is only valid for previous versions. No support can be provided on Qlik Centralized logging as all Qlik Sense versions using it have reached end of life.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When Database traffic encryption is enabled the Qlik Sense Logging service will not function. When Service is started the service will stop with a &lt;SPAN&gt;1064 error&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For related information please see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-on-Windows-Setup-Database-Traffic-Encryption/ta-p/1711690" target="_blank" rel="noopener"&gt;Qlik Sense - Setting up database traffic encryption&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is working as designed. The Qlik Sense Logging service is stopping due to it trying to communicate to a database and failing as the database was configured to accept only encrypted traffic. The centralize logging connection string is missing the "&lt;SPAN&gt;Ssl Mode=Require&lt;/SPAN&gt;". Traffic then is unencrypted and as result it is rejected by the database and the service reaction is to fail to start with the &lt;SPAN&gt;1064 error.&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Currently there is no way to modify the connection string from the centralize logging, other than keeping it in cleartext.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE! The workaround consists of adding encryption to the database connection by making the centralize logging connection string appear in cleartext.&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to &lt;SPAN&gt;%Program Files%\Qlik\Sense\Repository\Util\QlikSenseUtil&lt;/SPAN&gt;.&lt;/LI&gt;
&lt;LI&gt;Open&amp;nbsp;QlikSenseUtil.exe as Admin (right-lick &amp;gt; run as administrator)&lt;/LI&gt;
&lt;LI&gt;In&amp;nbsp;QlikSenseUtil.exe &amp;gt; select "Connection String Editor".&lt;/LI&gt;
&lt;LI&gt;In the file path to config file, place:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;C:\ProgramData\Qlik\Sense\Log\QlikCentralizedLogging.config&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Before making any changes backup file "&lt;FONT face="courier new,courier"&gt;QlikCentralizedLogging.config&lt;/FONT&gt;" file.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Take the unencrypted connection string.&lt;/LI&gt;
&lt;LI&gt;Open notepad as administrator.&lt;/LI&gt;
&lt;LI&gt;Navigate and open&amp;nbsp;&lt;SPAN&gt;C:\ProgramData\Qlik\Sense\Log\QlikCentralizedLogging.config&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Find and remove&amp;nbsp;&lt;SPAN&gt;"&amp;lt;connectionStrings configProtectionProvider="DataProtectionConfigurationProvider"&amp;gt; "&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; all the way to &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;nbsp;&amp;lt;/connectionStrings&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Now&amp;nbsp;on the same location add the unencrypted connection string ( including the &lt;SPAN&gt;"&amp;nbsp;&amp;lt;connectionStrings&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt; and&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;/connectionStrings&amp;gt;" &lt;/SPAN&gt;&lt;SPAN&gt;) .&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Add&amp;nbsp;&lt;SPAN&gt;Ssl Mode=Require&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;For example, step 9 and 10:&lt;BR /&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;connectionStrings&amp;gt;
&amp;lt;add name="qlogs_reader" connectionString="user id=qlogs_reader;password=123;host=qlikmachine;port=4432;database=QLogs;Ssl Mode=Require;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;add name="qlogs_writer" connectionString="user id=qlogs_writer;password=123;host=qlikmachine;port=4432;database=QLogs;Ssl Mode=Require;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Save the file.&lt;/LI&gt;
&lt;LI&gt;Now start the Qlik Logging Service.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 06 Jul 2023 13:08:37 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2023-07-06T13:08:37Z</dc:date>
    <item>
      <title>Qlik Sense Logging Service does not have support for SSL Database traffic encryption</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logging-Service-does-not-have-support-for-SSL/ta-p/1715607</link>
      <description>&lt;BLOCKQUOTE class="quote"&gt;Centralized logging has been deprecated with the Qlik Sense Enterprise on Windows May 2021 release. This article is only valid for previous versions. No support can be provided on Qlik Centralized logging as all Qlik Sense versions using it have reached end of life.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When Database traffic encryption is enabled the Qlik Sense Logging service will not function. When Service is started the service will stop with a &lt;SPAN&gt;1064 error&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For related information please see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-on-Windows-Setup-Database-Traffic-Encryption/ta-p/1711690" target="_blank" rel="noopener"&gt;Qlik Sense - Setting up database traffic encryption&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is working as designed. The Qlik Sense Logging service is stopping due to it trying to communicate to a database and failing as the database was configured to accept only encrypted traffic. The centralize logging connection string is missing the "&lt;SPAN&gt;Ssl Mode=Require&lt;/SPAN&gt;". Traffic then is unencrypted and as result it is rejected by the database and the service reaction is to fail to start with the &lt;SPAN&gt;1064 error.&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Currently there is no way to modify the connection string from the centralize logging, other than keeping it in cleartext.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE! The workaround consists of adding encryption to the database connection by making the centralize logging connection string appear in cleartext.&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to &lt;SPAN&gt;%Program Files%\Qlik\Sense\Repository\Util\QlikSenseUtil&lt;/SPAN&gt;.&lt;/LI&gt;
&lt;LI&gt;Open&amp;nbsp;QlikSenseUtil.exe as Admin (right-lick &amp;gt; run as administrator)&lt;/LI&gt;
&lt;LI&gt;In&amp;nbsp;QlikSenseUtil.exe &amp;gt; select "Connection String Editor".&lt;/LI&gt;
&lt;LI&gt;In the file path to config file, place:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;C:\ProgramData\Qlik\Sense\Log\QlikCentralizedLogging.config&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Before making any changes backup file "&lt;FONT face="courier new,courier"&gt;QlikCentralizedLogging.config&lt;/FONT&gt;" file.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Take the unencrypted connection string.&lt;/LI&gt;
&lt;LI&gt;Open notepad as administrator.&lt;/LI&gt;
&lt;LI&gt;Navigate and open&amp;nbsp;&lt;SPAN&gt;C:\ProgramData\Qlik\Sense\Log\QlikCentralizedLogging.config&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Find and remove&amp;nbsp;&lt;SPAN&gt;"&amp;lt;connectionStrings configProtectionProvider="DataProtectionConfigurationProvider"&amp;gt; "&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; all the way to &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;nbsp;&amp;lt;/connectionStrings&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Now&amp;nbsp;on the same location add the unencrypted connection string ( including the &lt;SPAN&gt;"&amp;nbsp;&amp;lt;connectionStrings&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt; and&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;lt;/connectionStrings&amp;gt;" &lt;/SPAN&gt;&lt;SPAN&gt;) .&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Add&amp;nbsp;&lt;SPAN&gt;Ssl Mode=Require&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;For example, step 9 and 10:&lt;BR /&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;connectionStrings&amp;gt;
&amp;lt;add name="qlogs_reader" connectionString="user id=qlogs_reader;password=123;host=qlikmachine;port=4432;database=QLogs;Ssl Mode=Require;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;add name="qlogs_writer" connectionString="user id=qlogs_writer;password=123;host=qlikmachine;port=4432;database=QLogs;Ssl Mode=Require;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Save the file.&lt;/LI&gt;
&lt;LI&gt;Now start the Qlik Logging Service.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 06 Jul 2023 13:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logging-Service-does-not-have-support-for-SSL/ta-p/1715607</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-07-06T13:08:37Z</dc:date>
    </item>
  </channel>
</rss>

