Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

How to back up certificates on Windows machine with Power Shell

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Yoichi_Hirotake
Former Employee
Former Employee

How to back up certificates on Windows machine with Power Shell

Last Update:

Jul 5, 2021 7:02:36 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 8, 2018 8:30:38 PM

Attachments

This article describes how to back up certificates on Windows machines by using Power Shell.

The article can be applied when:

  • You want to backup Qlik Sense certificates on Windows in case certificates corrupted
  • You want to back up 3rd party certificate which used for https
  • You are asked by Qlik Support to provide the certificate but don't know how to collect it


The script in this article backs up:

  • All of the exportable certificates stored under Current User Personal Certificate Store
  • All of the exportable certificates stored under Local Computer Personal Certificate Store
  • All of the exportable certificates stored under Local Computer Trusted Root Certificate Store


Note:

  • The script will not export non-exportable certificates(Windows Limitation)
  •  The password of the Private key of backed-up Certificates is 'Password123!'. If you want to change the Password you can modify line 7 in BackupCertificate.ps1

 

Environment:

Qlik Sense Enterprise on Windows 

 

Resolution:

 

  1. Download attached power shell scripts onto Qlik Sense Enterprise on Windows machine.
  2. Right Click BackupCertifiate.ps1 and select Run with PowerShell
Run BackupCertificate ps1 with PowerShell.png
 
  1. This will create folder Certbk folder under C drive and generate backup file for each Certificate Store.
 Localtion of Certificates.png
 




 

Labels (1)
Contributors
Version history
Last update:
‎2021-07-05 07:02 AM
Updated by: