I’ve got a web application installed by a previous Octopus step but I need to set the Require SSL checkbox for this application. I’m trying to use the community step “IIS App - Update Property” and it asks for:
Web Site Name
Application Name
Name of the property to set
Value of the property to set
How do I find out what the name of the property is and what the acceptable values are? I’m searching all over but obviously I’m looking for the wrong thing or looking in the wrong places.
Thanks for getting in touch! I think the property/value to require SSL in this step would be name = sslflags and value = Ssl (referencing the following Microsoft doc page).
Alternatively, I found a Stackoverflow thread where someone provided a script to set the require SSL field on a website, which you could possibly throw into a custom deployment script of your IIS step.
I hope that helps! Let me know how you go or if you have any further questions going forward.
Thanks for the reply. I had tried the name=sslflags and value=Ssl but it complained something about not recognizing the ‘sslflags’ property. I’ll revisit this.
I did finally locate an example to work from by locating another community step template that includes the option to set the Require SSL checkbox (IIS Application - Create). As I am deploying to a diverse set of servers I can’t rely on a particular environment, making things a little more challenging