How to upgrade Looker Certificate?
- Import Linux cert to windows computer store with exportable priv key <Make a note of the thumbprint of the new cert>
- Open PowerShell Desktop AS ADMINISTRATOR and perform the following steps,
- Run the LookerPreInstallationTool to create a new zip with the new cert in it:
- Enter the hostname for the Linux VM
- <FQDN of Linux host>
- Enter the friendly name or thumbprint of the certificate:
- <Enter thumbprint noted above>
- Do you want to configure SMTP? ([Y]es/[N]o)
- n
- Do you use Windows Authentication for Insights Db? ([Y]es/[N]o)
- n
- Let it save as default and then move the 2 files into the working directory (D:\SupportFiles\UIPath 22.4.x)
- Run SCP to get the zip file to the Linux server:
- scp <Zip File Path> <username@LinuxFQDN>:~/
- <provide current Password>
- Run SSH to Connect to Linux and run commands:
- ssh <username@LinuxFQDN>
- <provide current Password>
- unzip <ZipFileName.zip>
- <Answering Y to replace the cert.pfx and N to the other files>
- sudo docker exec -it looker-container bash /app/looker-init-job/install-certificate.sh
- Exit SSH
- Close PowerShell
- Verify the new cert by login into Looker from your desktop and verifying the SSL cert in the connection:
- https://<LinuxFQDN>:9999/
- Test Insights now.