<?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 Enterprise on Windows: Change hostname (and certificates) after an installation in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/ta-p/1713945</link>
    <description>&lt;P&gt;The hostname in Qlik Sense is determined by the content of &lt;FONT face="courier new,courier"&gt;host.cfg. &lt;/FONT&gt;&amp;nbsp;In order to change the hostname you must change the value in this file. This will also result in all certificates being invalidated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Once invalidated, they need to be recreated and any passwords stored in the database will need to be reset (e.g Data Connections and User Directory Connector credentials). Passwords are encrypted based on the server certificates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note the information in this article pertains to steps when changing the server hostname only, and not the Windows domain to which it is joined. When changing the domain please see the links below for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-and-changing-the-Active-Directory-Domain-name/ta-p/1805405" target="_blank" rel="noopener"&gt;Qlik Sense and changing the Active Directory Domain name&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://qlik.my.salesforce.com/articles/Basic/How-to-Contact-the-Consulting-Team?id=kA5D00000004JpX&amp;amp;popup=false&amp;amp;sfdcIFrameOrigin=https%3A%2F%2Fqlik.my.salesforce.com&amp;amp;isWsVw=true&amp;amp;nonce=daf64f8acf847d3bddc170dbd197ede9fa099a6fcf92a04d394ed66243e076a0" target="_blank" rel="noopener"&gt;How and When to Contact the Consulting Team?&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbgNhE4ANmc8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbgNhE4ANmc8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbgNhE4ANmc8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="How to Change Qlik Sense servers hostname recreating certificates" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Video-Transcripts/How-to-Change-Qlik-Sense-server-s-hostname-recreating/ta-p/1798387" target="_blank" rel="noopener"&gt;For Video transcript click here.&lt;/A&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;For Single Node Environments: (only Central node exists)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Log in as the service account.&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services, except for the Qlik Sense Repository Database.&lt;/LI&gt;
&lt;LI&gt;Use Microsoft Management Console(MMC) to backup and then delete all the Qlik Sense related certificates (client, server, trusted root). See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete or rename the folder&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Make a copy of&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;and rename the copy&amp;nbsp;to&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg.old&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in &lt;STRONG&gt;base64&lt;/STRONG&gt;. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet:
&lt;PRE&gt;&lt;SPAN&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("yourServerHostname.yourDomain.com"))&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string.&lt;/LI&gt;
&lt;LI&gt;Finalize:&lt;BR /&gt;&lt;BR /&gt;Instead of starting the Repository Service directly, run &lt;SPAN&gt;Windows Command Prompt&lt;/SPAN&gt;&lt;SPAN&gt; as Administrator and execute the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;"&lt;SPAN&gt;C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -restorehostname&amp;nbsp;-standalone&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If the script doesn't get to "&lt;/SPAN&gt;&lt;SPAN&gt;Bootstrap mode has terminated. Press ENTER to exit.&lt;/SPAN&gt;&lt;SPAN&gt;." and gets stuck at "&lt;/SPAN&gt;&lt;SPAN&gt;[INFO] Entering main startup phase..&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;start the "Qlik Sense dispatcher service"&lt;/STRONG&gt;&lt;SPAN&gt; and it will get to the end)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. If the &lt;STRONG&gt;Qlik Logging Service&lt;/STRONG&gt;&amp;nbsp;(Centralized logging database) has been installed see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.2017270.676441781.1609160223-69840786.1606921325" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;. Also see&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services.&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Keep in mind: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The central certificate is used to encrypt password strings being used in connectors, so changing this certificate means that you will need to recreate all connectors that include password information.&amp;nbsp; See related article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Reload-of-the-Operations-Monitor-app-or-other-monitoring-apps/ta-p/1711754" target="_blank" rel="noopener"&gt;Reload of the Operations Monitor app or other monitoring apps fail with 401 (Unauthorized)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; The steps for resetting passwords are also mentioned in the following article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://support.qlik.com/articles/Basic/Repository-System-Log-Shows-Error-Not-possible-to-decrypt-encrypted-string-in-database" target="_blank" rel="noopener"&gt;Repository System Log Shows Error "Not possible to decrypt encrypted string in database".&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Correcting Share paths if it is shared on the Central Node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Test the share locally and from any RIM nodes in the environment and re-share the path if needed.&lt;/SPAN&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Right Click on the Windows Icon &amp;gt; Computer Management &amp;gt; Shared Folders &amp;gt; Shares
&lt;UL&gt;
&lt;LI&gt;Be sure to note the permissions on the share so that they can be replicated later&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Right click on the Share &amp;gt; Stop Sharing&lt;/LI&gt;
&lt;LI&gt;Navigate to the Share path and reshare with the same permissions as before&lt;/LI&gt;
&lt;LI&gt;Validate permissions in Computer Management&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Use the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;QlikSenseUtil&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;at&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\QlikSenseUtil.exe&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;to inject in the new share path. Note: Use alternative installation path if Qlik Sense is not installed to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files&lt;/FONT&gt;&lt;BR /&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;First, connect to the database under the &lt;STRONG&gt;Connect to database&lt;/STRONG&gt; tab.&amp;nbsp; For &lt;STRONG&gt;Host Name&lt;/STRONG&gt; type the new Central node FQDN. Use the default &lt;FONT face="courier new,courier"&gt;postgres&lt;/FONT&gt; &lt;STRONG&gt;Database user&lt;/STRONG&gt; and the password created during the Qlik Sense installation.&lt;/LI&gt;
&lt;LI&gt;In the Service cluster tab, click &lt;STRONG&gt;OK&lt;/STRONG&gt; to retrieve the current Share paths.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Change them to include the new hostname and click &lt;STRONG&gt;Save&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Clear&lt;/STRONG&gt; and then &lt;STRONG&gt;OK&lt;/STRONG&gt; once more to confirm the new paths have been saved to the database.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Update the Qlik Sense&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data connections&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;via the Qlik Management Console (QMC):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;ArchivedLogsFolder&lt;/STRONG&gt;: Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; ArchivedLogsFolder &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;AttachedFiles&lt;/STRONG&gt;:&amp;nbsp; Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; AttachedFiles &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DataPrepAppCache&lt;/STRONG&gt;: Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; DataPrepAppCache &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Repository Database consideration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The relevant tables in the repository database that contain the host name information are:&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;LocalConfigs ( Hostname column )&lt;BR /&gt;ServerNodeConfigurations ( Host Name )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Please make sure that the above table hostname column should contain the correct server FQDN ( network host name and not the individual machine host name ) this should be exactly the hostname that is in the host.config file&lt;BR /&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&amp;nbsp;LocalConfigs table has been removed in Qlik Sense Enterprise February 2019 and newer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;For Multi-Node Environments:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;There are three possible scenarios in a multi-node environment. Changing the hostname for a Rim node only, the hostname of the Central node, or both. Certificates are always generated by the central node and are based on hostname so the change of hostname on the Central node consumes more time, will require redistribution, and in some cases also the deletion and re-adding of node information.&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Changing only the Rim Node Hostname&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the Rim node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Log in as the service account&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Use Microsoft Management Console (MMC) to delete all the Qlik Sense related certificates.&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;For backup purposes, make a copy of&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;and rename the copy&amp;nbsp;to&lt;SPAN&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Host.cfg.old&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in base64. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet:
&lt;PRE&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("qlikserver.domain.local"))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string&lt;/LI&gt;
&lt;LI&gt;Start up Qlik Sense, when it fails to find the certificates it will enter set up mode&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Unfortunately it is not possible to adjust the hostname of a node in QMC, so a when a Rim node's hostname is changed you have to then delete and re-add it with the steps below.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the Central server:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open Qlik Management Console (QMC)&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Nodes&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Select the node whose hostname has changed&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Delete&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Confirm your decision&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Create New&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Fill in the node details as appropriate and redistribute the certificates to the Rim node.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You will need to recreate and/or modify any rules that specifically named the old node.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Changing Central Node Hostname&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;All certificates used by Qlik Sense are created and signed by the central node and are based on its hostname, changing the hostname on the central node and recreating all self-signed certificates breaks this chain of trust and thus all certificates on all rim nodes will need to be recreated and redistributed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;On every Rim node:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all&amp;nbsp;Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Open Microsoft Management Console(MMC) using the Qlik Sense service account, backup, and delete all the Qlik Sense related certificates.&amp;nbsp;See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp; or rename&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Start Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Upon starting without certificates they will enter Setup mode, meaning they will be listening for new certificates.&lt;/LI&gt;
&lt;LI&gt;Complete the steps bellow &lt;STRONG&gt;On the central node&lt;/STRONG&gt; and then continue on the steps for the rim node &lt;STRONG&gt;Back on the Rim node(s)&lt;/STRONG&gt;&amp;nbsp;that follows.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the central node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services, except for the Qlik Sense Repository Database&lt;/LI&gt;
&lt;LI&gt;Open Microsoft Management Console(MMC) using the Qlik Sense service account, backup, and delete all the Qlik Sense related certificates.&amp;nbsp;See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp; or rename&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Make a copy of&lt;SPAN&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/FONT&gt;&amp;nbsp;as &lt;FONT face="courier new,courier"&gt;Host.cfg.old&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in &lt;STRONG&gt;base64&lt;/STRONG&gt;. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet below:
&lt;PRE&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("qlikserver.domain.local"))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string.&lt;/LI&gt;
&lt;LI&gt;Finalize:&lt;BR /&gt;&lt;BR /&gt;Instead of starting the Repository Service directly, run &lt;SPAN&gt;Windows Command Prompt&lt;/SPAN&gt;&lt;SPAN&gt; as Administrator and execute the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;"C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -restorehostname&amp;nbsp;-standalone&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If the script doesn't get to "&lt;/SPAN&gt;&lt;SPAN&gt;Bootstrap mode has terminated. Press ENTER to exit.&lt;/SPAN&gt;&lt;SPAN&gt;." and gets stuck at "&lt;/SPAN&gt;&lt;SPAN&gt;[INFO] Entering main startup phase..&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;start the "Qlik Sense dispatcher service"&lt;/STRONG&gt;&lt;SPAN&gt; and it will get to the end)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. If the &lt;STRONG&gt;Qlik Logging Service&lt;/STRONG&gt;&amp;nbsp;(Centralized logging database) has been installed see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.2017270.676441781.1609160223-69840786.1606921325" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;. Also see&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services.&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;Confirm the new certificates are created and QMC is accessible.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the QMC under&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt; Nodes&lt;/STRONG&gt;&lt;SPAN&gt;, select each Rim node and click &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Redistribute&lt;/STRONG&gt;&lt;SPAN&gt;, and&amp;nbsp;follow the instructions displayed in order to install the certificates on the Rim node.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Perform the steps under&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;"Correcting Share paths if it is shared on the Central Node"&lt;/STRONG&gt;&lt;SPAN&gt; above under the &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Single Node&lt;/STRONG&gt;&lt;SPAN&gt; section.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Also if Centralized logging is enabled, the following Data Connection &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;host&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;value needs to be updated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;QLogs:&amp;nbsp;&lt;/STRONG&gt;Updated with the new hostname manually via QMC &lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; QLogs &amp;gt; Connection string&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;15. Change the '&lt;FONT face="courier new, courier"&gt;trustedLocations&lt;/FONT&gt;&lt;SPAN&gt;' and '&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;url&lt;/FONT&gt;&lt;SPAN&gt;' values in all the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;monitor_REST_*&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections&lt;/STRONG&gt;&lt;SPAN&gt; to the new Fully Qualified Domain Name (FQDN). Any other Qlik Sense&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections'&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Connection string&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;need to be updated to&amp;nbsp;have these values in the Connection string set to the new FQDN of the Central node. These are listed in QMC under the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;section.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;See example under&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-set-up-Monitoring-Apps-in-a-clustered-environment/ta-p/1717024" target="_blank" rel="noopener"&gt;How to set up Monitoring Apps in a clustered environment&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Keep in mind: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The central certificate is used to encrypt password strings being used in connectors, so changing this certificate means that you will need to re-type and save the passwords for all Data Connections and User Directory Connectors that include password information. See related article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Reload-of-the-Operations-Monitor-app-or-other-monitoring-apps/ta-p/1711754" target="_blank" rel="noopener"&gt;Reload of the Operations Monitor app or other monitoring apps fail with 401 (Unauthorized)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; The steps for resetting passwords are also mentioned in the following article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Repository-System-Log-Shows-Error-quot-Not-possible-to-decrypt/ta-p/1713075" target="_blank" rel="noopener"&gt;Repository System Log Shows Error "Not possible to decrypt encrypted string in database".&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Back on the Rim node(s):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Sense services on the Rim node.&lt;/LI&gt;
&lt;LI&gt;Open&lt;SPAN&gt;&amp;nbsp;the file&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\QlikSenseUtil.exe&lt;/FONT&gt;&amp;nbsp; (default location) and change the FQDN that the Rim node would use to connect to the database. Note: May need to launch this program with administrator rights.
&lt;UL&gt;
&lt;LI&gt;Under the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Connection String Editor&lt;/STRONG&gt;, update the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Host='&amp;lt;hostname'&lt;/FONT&gt;&amp;nbsp;parameter with the new Central node FQDN / hostname for all databases. (e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Database=QSR&lt;/FONT&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;QSMQ&lt;/FONT&gt;, etc)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Test if DNS records have been updated in the environment. Otherwise, as a temporary workaround determine&amp;nbsp;the&amp;nbsp;IP address for the Central node and modify the Windows hosts file for both the hostname and FQDN.&lt;/LI&gt;
&lt;LI&gt;In a multi-node Qlik Sense environment, if the postgreSQL databases are on the Central node, update the hostname used by the RIM node's service to connect to these databases (e.g:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Licenses, QSR, SenseServices,&amp;nbsp;&lt;/FONT&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;QSMQ)&lt;/FONT&gt;&amp;nbsp;on the Central node.&amp;nbsp; The following PowerShell script can be run to update the hostname information. (&lt;STRONG&gt;Note:&lt;/STRONG&gt; subsitute &lt;FONT face="courier new,courier"&gt;MyPassword&lt;/FONT&gt;&amp;nbsp;with the superuser password configured during installation and &lt;FONT face="courier new,courier"&gt;localhost&lt;/FONT&gt;&amp;nbsp;with the new FQDN string for the Central node). For an alternative and more information see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Postgres-database-moved-to-new-host-but-some-Qlik-Sense-is-still/ta-p/1714567" target="_blank" rel="noopener"&gt;Postgres database moved to new host but some Qlik Sense is still accessing the old database&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;# Set the Installation Directory for Qlik Sense
$installDir = 'C:\Program Files\Qlik\Sense\'
# Specify the new password for the qliksenserepository account
$password = 'MyNewPassword'
$files = Get-ChildItem -Path $installDir -Include Configure-Service.ps1 -Recurse
foreach ($file in $files) {
    $ScriptToRun=$($file.FullName)
    &amp;amp;$ScriptToRun localhost 4432 qliksenserepository $password
}​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;The RIM node points to a FQDN for connections to the QSR database. This is different than in a Single Node environment with postgreSQL installed locally where '&lt;FONT face="courier new,courier"&gt;localhost&lt;/FONT&gt;&lt;SPAN&gt;' is used in the connection strings instead of the FQDN to connect to the database. So the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;listen_addresses&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;setting in the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;postgres.conf&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;file on the central node needs to be updated if in fact the postgreSQL (QSR) database is hosted on the Central node&lt;/SPAN&gt;&lt;FONT face="courier new, courier"&gt;.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;The article on step 7 covers this as well. For more information see&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new, courier"&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/PostgreSQL-postgresql-conf-and-pg-hba-conf-explained/ta-p/1713744" target="_blank" rel="noopener"&gt;PostgreSQL: postgresql.conf and pg_hba.conf explained&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. See&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If Centralized Logging / Logging Database is enabled in the environment, follow the steps documented in&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.119045897.1295146249.1608152915-577020889.1572878749" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Validate&amp;nbsp;that in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;QMC,&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;the node is registered as online in the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Nodes&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;section.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Repository Database consideration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;the relevant tables in the repository database that contain the host name information are:&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;LocalConfigs ( Hostname column )&lt;BR /&gt;ServerNodeConfigurations ( Host Name )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Please make sure that the above table hostname column should contain the correct server FQDN ( network host name and not the individual machine host name ) this should be exactly the hostname that is in the host.config file&lt;BR /&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&amp;nbsp;LocalConfigs table has been removed in Qlik Sense Enterprise February 2019 and newer.&lt;/P&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Articles:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://support.qlik.com/articles/Basic/Convert-Qlik-Sense-Users-To-New-User-Directory" target="_blank" rel="noopener"&gt;Convert Qlik Sense Users To New User Directory&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 03 Jul 2024 08:19:56 GMT</pubDate>
    <dc:creator>Andre_Sostizzo</dc:creator>
    <dc:date>2024-07-03T08:19:56Z</dc:date>
    <item>
      <title>Qlik Sense Enterprise on Windows: Change hostname (and certificates) after an installation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/ta-p/1713945</link>
      <description>&lt;P&gt;The hostname in Qlik Sense is determined by the content of &lt;FONT face="courier new,courier"&gt;host.cfg. &lt;/FONT&gt;&amp;nbsp;In order to change the hostname you must change the value in this file. This will also result in all certificates being invalidated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Once invalidated, they need to be recreated and any passwords stored in the database will need to be reset (e.g Data Connections and User Directory Connector credentials). Passwords are encrypted based on the server certificates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note the information in this article pertains to steps when changing the server hostname only, and not the Windows domain to which it is joined. When changing the domain please see the links below for more information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-and-changing-the-Active-Directory-Domain-name/ta-p/1805405" target="_blank" rel="noopener"&gt;Qlik Sense and changing the Active Directory Domain name&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://qlik.my.salesforce.com/articles/Basic/How-to-Contact-the-Consulting-Team?id=kA5D00000004JpX&amp;amp;popup=false&amp;amp;sfdcIFrameOrigin=https%3A%2F%2Fqlik.my.salesforce.com&amp;amp;isWsVw=true&amp;amp;nonce=daf64f8acf847d3bddc170dbd197ede9fa099a6fcf92a04d394ed66243e076a0" target="_blank" rel="noopener"&gt;How and When to Contact the Consulting Team?&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbgNhE4ANmc8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbgNhE4ANmc8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbgNhE4ANmc8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="How to Change Qlik Sense servers hostname recreating certificates" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Video-Transcripts/How-to-Change-Qlik-Sense-server-s-hostname-recreating/ta-p/1798387" target="_blank" rel="noopener"&gt;For Video transcript click here.&lt;/A&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;For Single Node Environments: (only Central node exists)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Log in as the service account.&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services, except for the Qlik Sense Repository Database.&lt;/LI&gt;
&lt;LI&gt;Use Microsoft Management Console(MMC) to backup and then delete all the Qlik Sense related certificates (client, server, trusted root). See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete or rename the folder&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Make a copy of&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;and rename the copy&amp;nbsp;to&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg.old&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in &lt;STRONG&gt;base64&lt;/STRONG&gt;. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet:
&lt;PRE&gt;&lt;SPAN&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("yourServerHostname.yourDomain.com"))&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string.&lt;/LI&gt;
&lt;LI&gt;Finalize:&lt;BR /&gt;&lt;BR /&gt;Instead of starting the Repository Service directly, run &lt;SPAN&gt;Windows Command Prompt&lt;/SPAN&gt;&lt;SPAN&gt; as Administrator and execute the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;"&lt;SPAN&gt;C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -restorehostname&amp;nbsp;-standalone&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If the script doesn't get to "&lt;/SPAN&gt;&lt;SPAN&gt;Bootstrap mode has terminated. Press ENTER to exit.&lt;/SPAN&gt;&lt;SPAN&gt;." and gets stuck at "&lt;/SPAN&gt;&lt;SPAN&gt;[INFO] Entering main startup phase..&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;start the "Qlik Sense dispatcher service"&lt;/STRONG&gt;&lt;SPAN&gt; and it will get to the end)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. If the &lt;STRONG&gt;Qlik Logging Service&lt;/STRONG&gt;&amp;nbsp;(Centralized logging database) has been installed see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.2017270.676441781.1609160223-69840786.1606921325" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;. Also see&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services.&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Keep in mind: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The central certificate is used to encrypt password strings being used in connectors, so changing this certificate means that you will need to recreate all connectors that include password information.&amp;nbsp; See related article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Reload-of-the-Operations-Monitor-app-or-other-monitoring-apps/ta-p/1711754" target="_blank" rel="noopener"&gt;Reload of the Operations Monitor app or other monitoring apps fail with 401 (Unauthorized)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; The steps for resetting passwords are also mentioned in the following article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://support.qlik.com/articles/Basic/Repository-System-Log-Shows-Error-Not-possible-to-decrypt-encrypted-string-in-database" target="_blank" rel="noopener"&gt;Repository System Log Shows Error "Not possible to decrypt encrypted string in database".&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Correcting Share paths if it is shared on the Central Node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Test the share locally and from any RIM nodes in the environment and re-share the path if needed.&lt;/SPAN&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Right Click on the Windows Icon &amp;gt; Computer Management &amp;gt; Shared Folders &amp;gt; Shares
&lt;UL&gt;
&lt;LI&gt;Be sure to note the permissions on the share so that they can be replicated later&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Right click on the Share &amp;gt; Stop Sharing&lt;/LI&gt;
&lt;LI&gt;Navigate to the Share path and reshare with the same permissions as before&lt;/LI&gt;
&lt;LI&gt;Validate permissions in Computer Management&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Use the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;QlikSenseUtil&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;at&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\QlikSenseUtil.exe&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;to inject in the new share path. Note: Use alternative installation path if Qlik Sense is not installed to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files&lt;/FONT&gt;&lt;BR /&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;First, connect to the database under the &lt;STRONG&gt;Connect to database&lt;/STRONG&gt; tab.&amp;nbsp; For &lt;STRONG&gt;Host Name&lt;/STRONG&gt; type the new Central node FQDN. Use the default &lt;FONT face="courier new,courier"&gt;postgres&lt;/FONT&gt; &lt;STRONG&gt;Database user&lt;/STRONG&gt; and the password created during the Qlik Sense installation.&lt;/LI&gt;
&lt;LI&gt;In the Service cluster tab, click &lt;STRONG&gt;OK&lt;/STRONG&gt; to retrieve the current Share paths.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Change them to include the new hostname and click &lt;STRONG&gt;Save&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Clear&lt;/STRONG&gt; and then &lt;STRONG&gt;OK&lt;/STRONG&gt; once more to confirm the new paths have been saved to the database.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Update the Qlik Sense&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data connections&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;via the Qlik Management Console (QMC):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;ArchivedLogsFolder&lt;/STRONG&gt;: Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; ArchivedLogsFolder &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;AttachedFiles&lt;/STRONG&gt;:&amp;nbsp; Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; AttachedFiles &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DataPrepAppCache&lt;/STRONG&gt;: Path to share needs to be updated with the new hostname manually via QMC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; DataPrepAppCache &amp;gt; Connection string&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Repository Database consideration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The relevant tables in the repository database that contain the host name information are:&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;LocalConfigs ( Hostname column )&lt;BR /&gt;ServerNodeConfigurations ( Host Name )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Please make sure that the above table hostname column should contain the correct server FQDN ( network host name and not the individual machine host name ) this should be exactly the hostname that is in the host.config file&lt;BR /&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&amp;nbsp;LocalConfigs table has been removed in Qlik Sense Enterprise February 2019 and newer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;For Multi-Node Environments:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;There are three possible scenarios in a multi-node environment. Changing the hostname for a Rim node only, the hostname of the Central node, or both. Certificates are always generated by the central node and are based on hostname so the change of hostname on the Central node consumes more time, will require redistribution, and in some cases also the deletion and re-adding of node information.&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Changing only the Rim Node Hostname&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the Rim node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Log in as the service account&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Use Microsoft Management Console (MMC) to delete all the Qlik Sense related certificates.&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;For backup purposes, make a copy of&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;and rename the copy&amp;nbsp;to&lt;SPAN&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Host.cfg.old&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in base64. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet:
&lt;PRE&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("qlikserver.domain.local"))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string&lt;/LI&gt;
&lt;LI&gt;Start up Qlik Sense, when it fails to find the certificates it will enter set up mode&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Unfortunately it is not possible to adjust the hostname of a node in QMC, so a when a Rim node's hostname is changed you have to then delete and re-add it with the steps below.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the Central server:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open Qlik Management Console (QMC)&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Nodes&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Select the node whose hostname has changed&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Delete&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Confirm your decision&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Create New&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Fill in the node details as appropriate and redistribute the certificates to the Rim node.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You will need to recreate and/or modify any rules that specifically named the old node.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Changing Central Node Hostname&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;All certificates used by Qlik Sense are created and signed by the central node and are based on its hostname, changing the hostname on the central node and recreating all self-signed certificates breaks this chain of trust and thus all certificates on all rim nodes will need to be recreated and redistributed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;On every Rim node:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all&amp;nbsp;Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Open Microsoft Management Console(MMC) using the Qlik Sense service account, backup, and delete all the Qlik Sense related certificates.&amp;nbsp;See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp; or rename&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Start Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Upon starting without certificates they will enter Setup mode, meaning they will be listening for new certificates.&lt;/LI&gt;
&lt;LI&gt;Complete the steps bellow &lt;STRONG&gt;On the central node&lt;/STRONG&gt; and then continue on the steps for the rim node &lt;STRONG&gt;Back on the Rim node(s)&lt;/STRONG&gt;&amp;nbsp;that follows.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;On the central node:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change hostname in Windows as usual.&lt;/LI&gt;
&lt;LI&gt;Restart the server as required by Windows.&lt;/LI&gt;
&lt;LI&gt;Stop all the Qlik Sense services, except for the Qlik Sense Repository Database&lt;/LI&gt;
&lt;LI&gt;Open Microsoft Management Console(MMC) using the Qlik Sense service account, backup, and delete all the Qlik Sense related certificates.&amp;nbsp;See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up certificates - Qlik Sense for Administrators&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete&amp;nbsp; or rename&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;%ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Make a copy of&lt;SPAN&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;%ProgramData%\Qlik\Sense\Host.cfg&lt;/FONT&gt;&amp;nbsp;as &lt;FONT face="courier new,courier"&gt;Host.cfg.old&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; contains the hostname encoded in &lt;STRONG&gt;base64&lt;/STRONG&gt;. You can generate&amp;nbsp;this string for the new hostname&amp;nbsp;using a site such as &lt;A href="https://www.base64encode.org/" target="_blank" rel="noopener"&gt;base64encode&lt;/A&gt;&amp;nbsp;or by running the following PowerShell scriptlet below:
&lt;PRE&gt;[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("qlikserver.domain.local"))&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Host.cfg&lt;/SPAN&gt;&lt;/FONT&gt; and replace the content with the new string.&lt;/LI&gt;
&lt;LI&gt;Finalize:&lt;BR /&gt;&lt;BR /&gt;Instead of starting the Repository Service directly, run &lt;SPAN&gt;Windows Command Prompt&lt;/SPAN&gt;&lt;SPAN&gt; as Administrator and execute the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;"C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -restorehostname&amp;nbsp;-standalone&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;If the script doesn't get to "&lt;/SPAN&gt;&lt;SPAN&gt;Bootstrap mode has terminated. Press ENTER to exit.&lt;/SPAN&gt;&lt;SPAN&gt;." and gets stuck at "&lt;/SPAN&gt;&lt;SPAN&gt;[INFO] Entering main startup phase..&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;start the "Qlik Sense dispatcher service"&lt;/STRONG&gt;&lt;SPAN&gt; and it will get to the end)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. If the &lt;STRONG&gt;Qlik Logging Service&lt;/STRONG&gt;&amp;nbsp;(Centralized logging database) has been installed see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.2017270.676441781.1609160223-69840786.1606921325" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;. Also see&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services.&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;Confirm the new certificates are created and QMC is accessible.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the QMC under&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt; Nodes&lt;/STRONG&gt;&lt;SPAN&gt;, select each Rim node and click &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Redistribute&lt;/STRONG&gt;&lt;SPAN&gt;, and&amp;nbsp;follow the instructions displayed in order to install the certificates on the Rim node.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Perform the steps under&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;"Correcting Share paths if it is shared on the Central Node"&lt;/STRONG&gt;&lt;SPAN&gt; above under the &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Single Node&lt;/STRONG&gt;&lt;SPAN&gt; section.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Also if Centralized logging is enabled, the following Data Connection &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;host&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;value needs to be updated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;QLogs:&amp;nbsp;&lt;/STRONG&gt;Updated with the new hostname manually via QMC &lt;FONT face="courier new,courier"&gt;&amp;gt; Data connections &amp;gt; QLogs &amp;gt; Connection string&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;15. Change the '&lt;FONT face="courier new, courier"&gt;trustedLocations&lt;/FONT&gt;&lt;SPAN&gt;' and '&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;url&lt;/FONT&gt;&lt;SPAN&gt;' values in all the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;monitor_REST_*&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections&lt;/STRONG&gt;&lt;SPAN&gt; to the new Fully Qualified Domain Name (FQDN). Any other Qlik Sense&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections'&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Connection string&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;need to be updated to&amp;nbsp;have these values in the Connection string set to the new FQDN of the Central node. These are listed in QMC under the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Data Connections&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;section.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;See example under&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-set-up-Monitoring-Apps-in-a-clustered-environment/ta-p/1717024" target="_blank" rel="noopener"&gt;How to set up Monitoring Apps in a clustered environment&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Keep in mind: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The central certificate is used to encrypt password strings being used in connectors, so changing this certificate means that you will need to re-type and save the passwords for all Data Connections and User Directory Connectors that include password information. See related article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Reload-of-the-Operations-Monitor-app-or-other-monitoring-apps/ta-p/1711754" target="_blank" rel="noopener"&gt;Reload of the Operations Monitor app or other monitoring apps fail with 401 (Unauthorized)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; The steps for resetting passwords are also mentioned in the following article &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Repository-System-Log-Shows-Error-quot-Not-possible-to-decrypt/ta-p/1713075" target="_blank" rel="noopener"&gt;Repository System Log Shows Error "Not possible to decrypt encrypted string in database".&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Back on the Rim node(s):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Sense services on the Rim node.&lt;/LI&gt;
&lt;LI&gt;Open&lt;SPAN&gt;&amp;nbsp;the file&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\QlikSenseUtil.exe&lt;/FONT&gt;&amp;nbsp; (default location) and change the FQDN that the Rim node would use to connect to the database. Note: May need to launch this program with administrator rights.
&lt;UL&gt;
&lt;LI&gt;Under the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Connection String Editor&lt;/STRONG&gt;, update the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Host='&amp;lt;hostname'&lt;/FONT&gt;&amp;nbsp;parameter with the new Central node FQDN / hostname for all databases. (e.g.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Database=QSR&lt;/FONT&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;QSMQ&lt;/FONT&gt;, etc)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Test if DNS records have been updated in the environment. Otherwise, as a temporary workaround determine&amp;nbsp;the&amp;nbsp;IP address for the Central node and modify the Windows hosts file for both the hostname and FQDN.&lt;/LI&gt;
&lt;LI&gt;In a multi-node Qlik Sense environment, if the postgreSQL databases are on the Central node, update the hostname used by the RIM node's service to connect to these databases (e.g:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Licenses, QSR, SenseServices,&amp;nbsp;&lt;/FONT&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;QSMQ)&lt;/FONT&gt;&amp;nbsp;on the Central node.&amp;nbsp; The following PowerShell script can be run to update the hostname information. (&lt;STRONG&gt;Note:&lt;/STRONG&gt; subsitute &lt;FONT face="courier new,courier"&gt;MyPassword&lt;/FONT&gt;&amp;nbsp;with the superuser password configured during installation and &lt;FONT face="courier new,courier"&gt;localhost&lt;/FONT&gt;&amp;nbsp;with the new FQDN string for the Central node). For an alternative and more information see&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Postgres-database-moved-to-new-host-but-some-Qlik-Sense-is-still/ta-p/1714567" target="_blank" rel="noopener"&gt;Postgres database moved to new host but some Qlik Sense is still accessing the old database&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;# Set the Installation Directory for Qlik Sense
$installDir = 'C:\Program Files\Qlik\Sense\'
# Specify the new password for the qliksenserepository account
$password = 'MyNewPassword'
$files = Get-ChildItem -Path $installDir -Include Configure-Service.ps1 -Recurse
foreach ($file in $files) {
    $ScriptToRun=$($file.FullName)
    &amp;amp;$ScriptToRun localhost 4432 qliksenserepository $password
}​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;The RIM node points to a FQDN for connections to the QSR database. This is different than in a Single Node environment with postgreSQL installed locally where '&lt;FONT face="courier new,courier"&gt;localhost&lt;/FONT&gt;&lt;SPAN&gt;' is used in the connection strings instead of the FQDN to connect to the database. So the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;listen_addresses&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;setting in the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;postgres.conf&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;file on the central node needs to be updated if in fact the postgreSQL (QSR) database is hosted on the Central node&lt;/SPAN&gt;&lt;FONT face="courier new, courier"&gt;.&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;The article on step 7 covers this as well. For more information see&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new, courier"&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/PostgreSQL-postgresql-conf-and-pg-hba-conf-explained/ta-p/1713744" target="_blank" rel="noopener"&gt;PostgreSQL: postgresql.conf and pg_hba.conf explained&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Start all the Qlik Sense services in the proper order. See&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Manual-Start-and-Stop-order-of-Qlik-Sense-services/ta-p/1713773" target="_blank" rel="noopener"&gt;Manual Start and Stop order of Qlik Sense services&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If Centralized Logging / Logging Database is enabled in the environment, follow the steps documented in&amp;nbsp;&lt;/SPAN&gt;&lt;A style="background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981?_ga=2.119045897.1295146249.1608152915-577020889.1572878749" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Validate&amp;nbsp;that in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;QMC,&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;the node is registered as online in the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Nodes&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;section.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Repository Database consideration:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;the relevant tables in the repository database that contain the host name information are:&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;LocalConfigs ( Hostname column )&lt;BR /&gt;ServerNodeConfigurations ( Host Name )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Please make sure that the above table hostname column should contain the correct server FQDN ( network host name and not the individual machine host name ) this should be exactly the hostname that is in the host.config file&lt;BR /&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&amp;nbsp;LocalConfigs table has been removed in Qlik Sense Enterprise February 2019 and newer.&lt;/P&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Articles:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://support.qlik.com/articles/Basic/Convert-Qlik-Sense-Users-To-New-User-Directory" target="_blank" rel="noopener"&gt;Convert Qlik Sense Users To New User Directory&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Error-1064-Unable-to-start-Qlik-logging-service-after-hostname/ta-p/1716981" target="_blank" rel="noopener"&gt;Error 1064 Unable to start Qlik logging service after hostname was changed&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 03 Jul 2024 08:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/ta-p/1713945</guid>
      <dc:creator>Andre_Sostizzo</dc:creator>
      <dc:date>2024-07-03T08:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Change hostname (and certificates) after an installation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/tac-p/2106318#M9920</link>
      <description>&lt;P&gt;if i understand,&lt;/P&gt;
&lt;P&gt;this a greate article , &lt;STRONG&gt;BUT&amp;nbsp;&lt;/STRONG&gt; you forget to change the share directory.&lt;/P&gt;
&lt;P&gt;beacuse its still look to the old share&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 13:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/tac-p/2106318#M9920</guid>
      <dc:creator>dtbit123</dc:creator>
      <dc:date>2023-08-16T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Change hostname (and certificates) after an installation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/tac-p/2160922#M11111</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/188143"&gt;@Qlik_FZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either method can be performed first. It depends on the order in which your IT wishes to migrate the server (to a new domain first or rename first, then move to a new domain). If you require direct guidance on how to perform this activity, we recommend either posting about it in detail in our &lt;A href="https://community.qlik.com/t5/deployment-management/bd-p/qlik-sense-deployment" target="_blank" rel="noopener"&gt;Deployment and Management forum&lt;/A&gt;, where you have access to our larger userbase, or to contact out &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-and-when-to-contact-Qlik-s-Professional-Services-and/ta-p/1714936" target="_blank" rel="noopener"&gt;consulting services&lt;/A&gt; for direct help.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-Change-hostname-and/tac-p/2160922#M11111</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-01-12T08:08:34Z</dc:date>
    </item>
  </channel>
</rss>

