<?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 Replicate - Generate a log.key file manually in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Replicate-Generate-a-log-key-file-manually/ta-p/2009590</link>
    <description>&lt;P&gt;When working with Qlik Replicate, &lt;STRONG&gt;log.key&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;file(s) are used for &lt;A title="Decrypt Qlik Replicate Verbose Task Log Files" href="https://community.qlik.com/t5/Official-Support-Articles/How-to-Decrypt-Qlik-Replicate-Verbose-Task-Log-Files/ta-p/1862114" target="_blank" rel="noopener"&gt;Decrypt Qlik Replicate Verbose Task Log Files&lt;/A&gt;&amp;nbsp;, the log.key file can be re-created by restarting tasks, or restarting Replicate services if the log.key file is missed/deleted. However sometimes we need the file creation prior to the first time task run eg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(1) Set proper file protection manually by DBA&lt;/P&gt;
&lt;P&gt;(2) Task movement among different environment eg UAT and PROD&lt;/P&gt;
&lt;P&gt;(3) In rare cases the file auto-creation failed due to some reasons&lt;/P&gt;
&lt;P&gt;This article provide some methods to generate file "log.key" manually.&lt;/P&gt;
&lt;H3 id="toc-hId-1962198419"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;Version 2021.11 and later&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 id="toc-hId--525314414"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;There are several methods to get a "log.key" file manually.&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Copy an existing "log.key" file from UAT/TEST task folder;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; It's better to make sure the "log.key" uniqueness, so below method (2) is recommended:&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Run "&lt;SPAN&gt;openssl" command on Linux or Windows&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;openssl rand -base64 32 &amp;gt;&amp;gt; log.key&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The command will return a 44-chars random unique string&amp;nbsp;(the latest char is "=") in "log.key" file. For example&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;EM&gt;n1NJ7r2Ec+1zI7/USFY2H1j/loeSavQ/iUJPaiOAY9Y=&lt;/EM&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Support cases, #00059433&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A id="hoverCardLink" class="lia-link-navigation lia-product-hover-card-link lia-product-mention lia-tooltip-trigger" href="https://community.qlik.com/t5/c-cyjdu72974/Qlik+Replicate/pd-p/qlikReplicate" target="_blank" rel="noopener"&gt;Qlik Replicate&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 09:16:53 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2022-11-28T09:16:53Z</dc:date>
    <item>
      <title>Replicate - Generate a log.key file manually</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Replicate-Generate-a-log-key-file-manually/ta-p/2009590</link>
      <description>&lt;P&gt;When working with Qlik Replicate, &lt;STRONG&gt;log.key&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;file(s) are used for &lt;A title="Decrypt Qlik Replicate Verbose Task Log Files" href="https://community.qlik.com/t5/Official-Support-Articles/How-to-Decrypt-Qlik-Replicate-Verbose-Task-Log-Files/ta-p/1862114" target="_blank" rel="noopener"&gt;Decrypt Qlik Replicate Verbose Task Log Files&lt;/A&gt;&amp;nbsp;, the log.key file can be re-created by restarting tasks, or restarting Replicate services if the log.key file is missed/deleted. However sometimes we need the file creation prior to the first time task run eg&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(1) Set proper file protection manually by DBA&lt;/P&gt;
&lt;P&gt;(2) Task movement among different environment eg UAT and PROD&lt;/P&gt;
&lt;P&gt;(3) In rare cases the file auto-creation failed due to some reasons&lt;/P&gt;
&lt;P&gt;This article provide some methods to generate file "log.key" manually.&lt;/P&gt;
&lt;H3 id="toc-hId-1962198419"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;Version 2021.11 and later&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 id="toc-hId--525314414"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;There are several methods to get a "log.key" file manually.&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Copy an existing "log.key" file from UAT/TEST task folder;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; It's better to make sure the "log.key" uniqueness, so below method (2) is recommended:&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Run "&lt;SPAN&gt;openssl" command on Linux or Windows&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;openssl rand -base64 32 &amp;gt;&amp;gt; log.key&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The command will return a 44-chars random unique string&amp;nbsp;(the latest char is "=") in "log.key" file. For example&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;EM&gt;n1NJ7r2Ec+1zI7/USFY2H1j/loeSavQ/iUJPaiOAY9Y=&lt;/EM&gt;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Support cases, #00059433&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A id="hoverCardLink" class="lia-link-navigation lia-product-hover-card-link lia-product-mention lia-tooltip-trigger" href="https://community.qlik.com/t5/c-cyjdu72974/Qlik+Replicate/pd-p/qlikReplicate" target="_blank" rel="noopener"&gt;Qlik Replicate&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 09:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Replicate-Generate-a-log-key-file-manually/ta-p/2009590</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-11-28T09:16:53Z</dc:date>
    </item>
  </channel>
</rss>

