I'm trying to export and import my app pools and websites from one server to a new one.
I managed to create the app pools and websites in the new server but the bindings section in the websites isn't complete because the SSL certificate is not selected (set). That information doesn't seem to be present in the exported xml:
<SITE name="xxxxxx" id="1" bindings="https/IPADDRESS:443:" state="Started">
<bindings>
<binding protocol="https" bindingInformation="IPADDRESS:443:"/>
(...)
I know how to do it manually using IIS Manager but want to automate this deployment as much as possible.
I'm trying to use appcmd to set the SSL certificate but I can't seem to make it work.
I'm also using more than 1 certificate and each has its own IP address...
Any ideas?