Issues
Issues copied to clipboard
Replacing an existing certificate in Octopus does not update the private key
Severity
1 client reporting issue
Version
2024.1.11966
Latest Version
I could reproduce the problem in the latest build
What happened?
When you use the Replace option to update an existing certificate in Octopus, the private key associated with the certificate is not updated. We would expect the private key to be updated along with the certificate when replacing an existing one.
Reproduction
- Upload a certificate, including the private key, to Octopus.
- Deploy the certificate to a server and observe the private key value.
- Replace the previous certificate in the Octopus UI with a new certificate and private key.
- Deploy the new certificate and observe the private key value has not changed.
Error and Stacktrace
No response
More Information
Workaround
Create a new certificate in Octopus instead of using the Replace option on an existing certificate.