Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Replacing an existing certificate in Octopus does not update the private key

Open dan-close opened this issue 1 year ago • 0 comments

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

  1. Upload a certificate, including the private key, to Octopus.
  2. Deploy the certificate to a server and observe the private key value.
  3. Replace the previous certificate in the Octopus UI with a new certificate and private key.
  4. Deploy the new certificate and observe the private key value has not changed.

Error and Stacktrace

No response

More Information

Zendesk Ticket

Workaround

Create a new certificate in Octopus instead of using the Replace option on an existing certificate.

dan-close avatar Apr 02 '24 15:04 dan-close