We’ve setup two projects that both deploy to the same servers. Each is their own website in IIS, and each have their own (similar) process for doing so. When I deploy Project A, it sets not only it’s own HTTPS binding to the specified cert, but also Project B. Similarly, when Project B is deployed, it binds both it’s own and Project A’s cert.
There are other web applications on the same server not yet controlled by Octopus that are not affected by the rebinding.
The process we used to configure the certs:
- uploaded both certificates to Library > Certificates
- Created a variable set which contains a certificate variable for each certificate
- Linked the variable set to both projects
- Linked the Deploy to IIS HTTPs binding step to the relevant variable
We’ve checked and triple checked that each project references it’s own certificate, that the variables in the variable set reference the correct certificate, and that the certificates uploaded are the correct ones. When examining the Task Log for a deployment of Project A or B, it correctly identifies it’s own certificate and claims to set the binding. There is no mention in the log of it setting the binding for the other (wrong) project also.
Happy to provide any more information required on request (bar the certificates themselves of course).