Anybody had any experience configuring Octopus Server to use custom certificates?
I’ve been following the steps on this article but I’ve got stuck on point 2:
Can the import script accept files with anything other than a .pfx extension? I’ve tried .cert and .p7b but get the attached error…
Thank you for reaching out! Yes, we only accept pfx type for custom certificates. Though a workaround that could work in your case is changing your file type to .txt and try again.
If that doesn’t help, there are lots of tools online, like https://www.sslshopper.com/ssl-converter.html that can convert your certificate to our supported format.
Additionally, a command to convert it could look something like:
makecert -n “CN=AwesomeCertAuth” -cy authority -a sha1 -sv “AwesomeCertAuthPrivateKey.pvk” -r “AwesomeCertAuth.cer”
makecert -n “CN=OctopusServer” -ic “AwesomeCertAuth.cer” -iv “AwesomeCertAuthPrivateKey.pvk” -a sha1 -sky exchange -pe -sv “OctopusServerPrivateKey.pvk” "OctopusServer.cer"
pvk2pfx -pvk “OctopusServerPrivateKey.pvk” -spc “OctopusServer.cer” -pfx “OctopusServer.pfx” -pi Password01!
I hope that helps!
This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.