I have 6 web servers that we are building for our new production environment and have used appcmd to assign bindings to each of our 300+ websites on one of the servers to test it out. (needless to say I don't want to manually add bindings one at a time for almost 2000 sites) I am looking for a way to automate the enabling of the respective "use central certificate store" and "require Server Name Indication" check boxes programatically. The Appcmd script below works great and I can use the central certificate store and SNI once I have manually enabled the check box for it in the bindings section of IIS 8.
appcmd set site /site.name:"mydomain.com" /+bindings.[protocol='http
Does anyone know of a command I can add to each line of my script to enable those two check boxes, or of a way to script the enabling of it later in batch?