Hi,
I’m using Octopus Deploy 3.16.2
Based on the documentation at: https://octopus.com/docs/deploying-applications/variables/certificate-variables I’m using an Octopus “Certificate” variable in order to inject a certificate’s subject name into a .Net service’s web.config configuration.
Previously, the subject name was hard-coded e.g. as “MySubject” and the certificate could be retrieved by using the “FindBySubjectName” certificate finder.
Octopus is injecting the distinguished subject name i.e. “CN=MySubject” into the configuration. This entails updating the certificate finder wherever it’s used in code and the configuration. This would be fine if there were only one service to be updated and if I had control over all the other services.
Is there a way I can have Octopus inject just the subject i.e. “MySubject” into the configuration?
thank you,
Steve