Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Gowtham174
Creator
Creator

Hostname changed create new qlik certificate

Hi All,

We  changed hostname and we need to create new certificate and i used below logic 

"C:\Program Files\Qlik\Sense\Repository\Repository.exe" -bootstrap -iscentral -restorehostname

command,

but it also fails with error as attached, please help me on this.

Thanks,

Gowtham

 

 

 

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this before executing your cmd command as an administrator.

  • Logged in as the service account?
  • Have you stopped all the Qlik Sense services,  except the Qlik Sense Repository Database
  • Delete all  Qlik Sense related certificates in Microsoft Management Console(MMC) ?
  • Delete the %ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates
  • Edit the  %ProgramData%\Qlik\Sense\Host.cfg and replace the hostname in the file. It should be encoded in base64. 

View solution in original post

4 Replies
Giuseppe_Novello

Have you stopped all the services, except Repository DB? 

Giuseppe Novello
Principal Technical Support Engineer @ Qlik
Vegar
MVP
MVP

Try this before executing your cmd command as an administrator.

  • Logged in as the service account?
  • Have you stopped all the Qlik Sense services,  except the Qlik Sense Repository Database
  • Delete all  Qlik Sense related certificates in Microsoft Management Console(MMC) ?
  • Delete the %ProgramData%\Qlik\Sense\Repository\Exported Certificates\.Local Certificates
  • Edit the  %ProgramData%\Qlik\Sense\Host.cfg and replace the hostname in the file. It should be encoded in base64. 
Gowtham174
Creator
Creator
Author

Hi Gno,

I was able to create certificate and still not able to open qmc or hub

Getting error in log in Proxy

112 20190218T095143.337+0530 WARN DESKTOP-GOWTHAM System.Proxy.Proxy.Settings.SettingsHandler 9 4ffb8901-d818-46a3-9ce1-e473c733efaf DESKTOP-GOWTHAM\GISPL-55 Could not contact local repository to retrieve proxy service settings The remote server returned an error: (503) Server Unavailable. at Proxy.Communication.Rest.ProxyRestClient.CallSync[TR](String restCommand, RESTMethod method, Object jsonObject, IDictionary`2 additionalHeaders)↵↓ at Proxy.Communication.Rest.QrsRestClient.GetLocalProxyService()↵↓ at Proxy.Settings.SettingsHandler.TryRetrieveSettingsFor[T](Func`1 call, String resourceName) 4ffb8901-d818-46a3-9ce1-e473c733efaf

ResourceDistributionService log

2 20190218T102520.519+0530 DESKTOP-GOWTHAM 1.1.0 HdsService ERROR Could not fetch hybrid deployments: 500 - undefined



Thanks,
Gowtham
Giuseppe_Novello

Go to Logs / repository / trace / system_repoistory.log and security_repository.log, see what does it say? 

 

Gio

Giuseppe Novello
Principal Technical Support Engineer @ Qlik