OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
161 stars 20 forks source link

Allow saving just a certificate to a Java KeyStore. #5780

Open danielfischeroctopus opened 5 years ago

danielfischeroctopus commented 5 years ago

Prerequisites

The enhancement

Currently when adding certificates to Java KeyStore, we only allow for saving public/private key combinations. We should allow for just saving certificates.

Links

https://secure.helpscout.net/conversation/927490582/48579?folderId=845288

mcasperson commented 5 years ago

Saving key pairs is done in https://github.com/OctopusDeploy/Octopus.Dependencies.Java/blob/master/src/main/kotlin/com/octopus/calamari/utils/impl/KeystoreUtilsImpl.kt#L75.

The additional functionality would be added with a call to setCertificateEntry().

Marcus-James-Adams commented 5 years ago

From an end-user point of view, this is particularly useful when adding trusted public keys to trusted keystores.

jtognazzi commented 1 year ago

This would be usefull !