I want to bind 2 certificates on a port in my Windows server.
But it doesn't let me add the second certificate once one has already been added for it. Or unless I clear the bindings for the port using netsh delete command.
Adding the second certificate shows this error -
System error 183. Cannot create file when that file already exists
netsh http add sslcert ipport=0.0.0.0:2195 certhash="$thumbprint" appid='{472f53d0-29e1-4cf4-ba9c-79f362d8f6fa}'
Is it possible to bind multiple certificate to the same port?
Thanks in advance.
I have found a solution for this. Surprisingly I didn't find a single resource about this across the web.
It seems that you can't bind multiple certificates if you set the IP as
0.0.0.0(which I think, is wildcard)So, for the other certificate, I had to use some other IP.
Since in my case the destination IP address is known and is fixed, which is
17.x.x.xIP address block (Apple) .So for the second certificate, I changed the
ipportin the command to17.0.0.0:2195.And voila, it worked!