How can we help you today?

Go ahead and ask us anything.

See the KanBo newest version.

Create a pair of certificates for KanBo and its components with Powershell

Last modified:


KanBo and its components require a pair of certificates to work properly. This article is dedicated to creating certificates with a 20 year expiration date that You can use for KanBo and all of its components.

1. Open Powershell (or Powershell ISE)

2. Copy those commands and paste them into Powershell:

$certPath = "C:\Certs\MyKanBoCert"
$cert = New-SelfSignedCertificate -DnsName "MyKanBoCert" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(20)
$cert | Export-Certificate -FilePath $certPath\MyKanBoCert.cer
$pass = ConvertTo-SecureString -String "MyKanBoCertPassword" -Force -AsPlainText
$cert | Export-PfxCertificate -FilePath $certPath\MyKanBoCert.pfx -Password $pass
$thumbprint = $cert.Thumbprint
Remove-Item -Path "Cert:\LocalMachine\My\$Thumbprint"

3. Modify the script

Before we can run the script, some modifications have to be done.

$certPath = "C:\Certs\MyKanBoCert"

Modify the path here to an existing folder on Your machine


$pass = ConvertTo-SecureString -String "MyKanBoCertPassword" -Force -AsPlainText
Replace MyKanBoCertPassword with a secure password (You will need the password later so make sure to write it down somewhere)


4. Run the script, and Your certificates will be ready

Image 13159


This article was helpful for 1 person. Is this article helpful for you?