What I am trying to do is setting and managing multiple http and https bindings with sni from another step via ps. My workaround was setting a dummy wildcard binding and deleting it prior to my required entries.
Thanks for reaching out! We handle IIS bidings in a declarative way, meaning we clear them up first, and then we put the ones you declared. If you don’t put any bindings, you’ll get this error as Sites without bindings cannot exist.
What you are doing of setting a dummy binding and the deleting it from the other step is exactly what I would recommend.
Please let me know if you have any further questions.
Having the same issue, getting nowhere, even tried ‘IIS Bindings - Backup’ from the library and it seems not backup all the bindings, only http/https.
How did you manage to fix this?
Thanks for reaching out! In case @Mikael isn’t available to respond, you can feel free to get in touch with Octopus support directly with a new thread or email us at Support at Octopus dot com.
Thanks for your prompt response, here what my problem is:
We have an existing (legacy) website and trying Octopus Deployment to
automate the process, all seems to be good so far, except the bindings.
This is the current bingdings (most of which not sure about, but want to
keep it as is) and I tried all possible scenarios I could do to address it
but the issue still persist, I tried 'IIS Bindings - Backup/Restore’
powershell scripts from the library so not sure what to do next. For now,
decided to manually create these bindings after the deployment step.
Current bindings:
Type Binding information
Port SSL certificate
net.tcp 808:*
https
443 some-certificate.com
net.msmq localhhost
msmq.formatname localhost
net.pipe *
http
80