Hi,
We’re attempting to use the ‘Import Certificate to Windows Certificate Store’ step template to deploy some SSL certificates to some deployment targets. While the task is straightforward to configure, and deploying the step in a release reports success, no certificate can be found when we search the windows store for the certificate later.
It’s very confusing as the deployment log reports success. So the certificate must be somewhere?!
Here is an obfuscated version of the verbose deployment log.
Octopus Server version: 2018.9.17+Branch.master.Sha.9e332cbb3a61d59f7f14c94196e6c4ed481b10a3
Environment Information:
OperatingSystem: Microsoft Windows NT 10.0.14393.0
OsBitVersion: x64
Is64BitProcess: True
CurrentUser: NT AUTHORITY\SYSTEM
MachineName: AWS-PRDBIBUILD
ProcessorCount: 4
CurrentDirectory: C:\Windows\system32
TempDirectory: C:\Windows\TEMP\
HostProcessName: Octopus.Server
PID: 10144
Starting C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in working directory 'C:\Octopus\Work\20190206171239-30376-191' using 'Western European (DOS)' encoding running as 'DOMAIN\USERNAME' with the same environment variables as the launching process
Octopus Deploy: Calamari version 4.10.0
Environment Information:
OperatingSystem: Microsoft Windows NT 10.0.14393.0
OsBitVersion: x64
Is64BitProcess: True
CurrentUser: DOMAIN\USERNAME
MachineName: SERVERNAME
ProcessorCount: 8
CurrentDirectory: C:\Octopus\Work\20190206171239-30376-191
TempDirectory: C:\Users\USERNAME\AppData\Local\Temp\
HostProcessName: Calamari
Importing certificate 'CN=*.DOMAIN.com' with thumbprint 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' into store 'LocalMachine\My'
Imported certificate 'CN=*.DOMAIN.com' into store 'My'
Imported certificate 'CN=Encryption Everywhere DV TLS CA - G1, OU=www.digicert.com, O=DigiCert Inc, C=US' into store 'CA'
Process C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in C:\Octopus\Work\20190206171239-30376-191 exited with code 0
Successfully finished Load Certificate on SERVERNAME
There are no errors, just a report of the successful import of the certificate.
Any assistance on where to look would be great.
Cheers,
Cameron