bobbailey22
asked on
APPCMD to enable central certificate store and SNI?
Hello,
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 s',binding Informatio n='x.x.x.x :443:custo mer.mydoma in.com']
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?
Thank you
unassigned.png
enabled.png
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?
Thank you
unassigned.png
enabled.png
ASKER
I will try that command and let you know, it may take some time as I am working offsite today. Will that enable Server Name Indication as well?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
We ended up finding the best solution with the help of one of our technicians.
appcmd set site "My site name" /bindings:"https://server.domain.com:443" should take care of centralize certificate store