<?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 Re: Qlik Sense certificates backup in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486410#M28239</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316064"&gt;@Keryss&lt;/a&gt;&amp;nbsp;the backup of the certificates is a useful step when you are restoring to a server with the same hostname, so either restoring to the same server or to a different server that has been given the same FQDN for the purpose of the migration.&lt;BR /&gt;&lt;BR /&gt;However, when you migrate to a new server with a different hostname you are forced to recreate the certificates since the certificates are tied to the central node's hostname. This means recreating the certificate as mentioned by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383"&gt;@David_Friend&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note that the password for data connections are encrypted using the certificate so if you recreate the certificate you have to manually re-enter the username and password into the data connections to have them inserted into the DB with the correct encryption.&lt;BR /&gt;&lt;BR /&gt;See the following documentation:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm#anchor-2" target="_blank" rel="noopener"&gt;Restoring a Qlik Sense site to a machine with a different hostname&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/ta-p/1713945" target="_blank" rel="noopener"&gt;Qlik Sense Enterprise on Windows: Change hostname (and certificates) after an installation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 13:22:18 GMT</pubDate>
    <dc:creator>Nick_Asilo</dc:creator>
    <dc:date>2024-10-10T13:22:18Z</dc:date>
    <item>
      <title>Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486221#M28231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to automate (with PowerShell) a backup of a Qlik Sense Site (Single Node)&lt;/P&gt;
&lt;P&gt;The backup will be restored in two different cases :&lt;/P&gt;
&lt;P&gt;1. On the same hostname, after a disaster recovery (the machine is re-created from scratch and we have to restore Qlik Sense site from a full backup)&lt;/P&gt;
&lt;P&gt;2. On a different hostname, to migrate a Qlik Sense Site from a Production environment to a Test environment (for example)&lt;/P&gt;
&lt;P&gt;For that, I used both official procedures&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-a-site.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-a-site.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Both procedures are very clear, don't have any problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Buy, when it comes to automate Qlik certificates backup, I'm facing an issue with the following certificate&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;# client certificate&lt;BR /&gt;# Certificates (Current User) &amp;gt; Personal &amp;gt; Certificates&lt;BR /&gt;# Issued To : QlikClient&lt;BR /&gt;# Issued By : &amp;lt;server-name.domain&amp;gt;-CA&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As the account used to run the PowerShell script is not the same as the "&lt;SPAN class="mc-variable CommonComponents.Qlik_Sense variable"&gt;Qlik Sense&lt;/SPAN&gt;&amp;nbsp;services" user, it is impossible to export the "QlikClient" certificate from the 'Current User' store.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And due to sec&lt;/SPAN&gt;&lt;SPAN&gt;urity restrictions, it is also impossible to export a certificate for another user.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What do you think ? What is the best practice to do that ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please advice.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks very much !&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486221#M28231</guid>
      <dc:creator>Keryss</dc:creator>
      <dc:date>2024-10-09T14:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486224#M28232</link>
      <description>&lt;P&gt;I think you could just not worry about that and bootstrap the environment after restore (which recreates those certs):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-recreate-or-just-delete-certificates-in-Qlik-Sense-No/ta-p/1712692" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-to-recreate-or-just-delete-certificates-in-Qlik-Sense-No/ta-p/1712692&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486224#M28232</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2024-10-09T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486226#M28233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;
&lt;P&gt;Not sure to understand. The official documentation specifies :&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;To be able to recover from a system crash, you should create a backup of the certificates on the central node of your&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.Qlik_Sense variable"&gt;Qlik Sense&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;site."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my case, before I restore the backup, Qlik is firstly installed from scratch on the fresh machine, then I run the restore.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What if, as you suggest, I don't restore old certificates ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486226#M28233</guid>
      <dc:creator>Keryss</dc:creator>
      <dc:date>2024-10-09T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486321#M28234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383"&gt;@David_Friend&lt;/a&gt;, I just took a look on the document you shared. In step 7, it is asked to delete the QlikClient certificate.&lt;/P&gt;
&lt;P&gt;But, as explained previously, I don't have access to that certificate from my script (as it is launched with another user account than the account used by Qlik).&lt;/P&gt;
&lt;P&gt;Please advice,&lt;/P&gt;
&lt;P&gt;Thanks very much.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 06:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486321#M28234</guid>
      <dc:creator>Keryss</dc:creator>
      <dc:date>2024-10-10T06:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486406#M28238</link>
      <description>&lt;P&gt;I think its simpler to just re-create them, but want to hear from others on the best strategy.&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/130975"&gt;@Nick_Asilo&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50364"&gt;@Mike_Dickson&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 13:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486406#M28238</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2024-10-10T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486410#M28239</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316064"&gt;@Keryss&lt;/a&gt;&amp;nbsp;the backup of the certificates is a useful step when you are restoring to a server with the same hostname, so either restoring to the same server or to a different server that has been given the same FQDN for the purpose of the migration.&lt;BR /&gt;&lt;BR /&gt;However, when you migrate to a new server with a different hostname you are forced to recreate the certificates since the certificates are tied to the central node's hostname. This means recreating the certificate as mentioned by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383"&gt;@David_Friend&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note that the password for data connections are encrypted using the certificate so if you recreate the certificate you have to manually re-enter the username and password into the data connections to have them inserted into the DB with the correct encryption.&lt;BR /&gt;&lt;BR /&gt;See the following documentation:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm#anchor-2" target="_blank" rel="noopener"&gt;Restoring a Qlik Sense site to a machine with a different hostname&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/ta-p/1713945" target="_blank" rel="noopener"&gt;Qlik Sense Enterprise on Windows: Change hostname (and certificates) after an installation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 13:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486410#M28239</guid>
      <dc:creator>Nick_Asilo</dc:creator>
      <dc:date>2024-10-10T13:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486416#M28240</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;Sorry, but I don't understand.&lt;/P&gt;
&lt;P&gt;In my case, I will restore in two different cases :&lt;/P&gt;
&lt;P&gt;Case 1 : On a server with the same hostname. Every night, I do a full backup of Qlik Site from that server. And if, for some reason, the VM crashes, the "Disaster recovery" process will delete the VM and re-created from scratch, with same hostname. Then, Qlik is installed (fresh installed from scratch), and finally we need to restore the backup done before the crash.&lt;/P&gt;
&lt;P&gt;In this case, do we need old certificates ?&lt;/P&gt;
&lt;P&gt;Case 2 : On a server with different hostname. In this case, on that VM, Qlik is already installed on the machine and correctly works.&amp;nbsp;&lt;SPAN&gt;All we need is to restore a backup from another VM (For example to migrate PROD Qlik site to UAT Qlik Site).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;In this case, do we need old certificates ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 13:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486416#M28240</guid>
      <dc:creator>Keryss</dc:creator>
      <dc:date>2024-10-10T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense certificates backup</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486464#M28242</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/316064"&gt;@Keryss&lt;/a&gt;&amp;nbsp;my comment above addresses both but its content is more directly gear for case 2.&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;when you migrate to a new server with a different hostname you are forced to recreate the certificates since the certificates are tied to the central node's hostname. This means recreating the certificate as mentioned by&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383" target="_blank"&gt;@David_Friend&lt;/A&gt;&lt;SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;In the scenario of Case 1 then yes backing up the old certificates is ideal&lt;BR /&gt;&lt;BR /&gt;"the backup of the certificates is a useful step when you are restoring to a server with the same hostname"&lt;BR /&gt;&lt;BR /&gt;However, due to the limitations you mentioned previously, you are unable to automate backing up the Service Account personal certificates. I advise manually exporting and backing up the certificates as these change very infrequently, when you manually recreate the certificates for troubleshooting, when you migrate to a new server or change the hostname, and very infrequently for certain upgrades.&lt;BR /&gt;&lt;BR /&gt;So unlike the DB which will require frequent backing up as part of a DR plan, the certs are fairly static and do not require frequent backing up and can be done manually without it being a difficult task.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 18:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-certificates-backup/m-p/2486464#M28242</guid>
      <dc:creator>Nick_Asilo</dc:creator>
      <dc:date>2024-10-10T18:23:43Z</dc:date>
    </item>
  </channel>
</rss>

