I can create a web site in IIS using e.g. the following command:
appcmd add site
-name:portallocal
-physicalPath:"C:\dev\projects\mysite"
-bindings:https/127.0.0.1:444:mysite.dev
But how can I also select an SSL certificate?
I'd like the highlighted dropdown shown below to have the correct SSL certificate selected, and I'd like to do it from the command-line, preferably as part of the add site command. if there's an additional command I can run, that's fine too, but I want to not have to go into the IIS Manager application and select the SSL certificate manually.