How to edit hostname in https binding on IIS 7.5?
On Windows Server 2008 R2, the "Host name" box for editing the https binding is disabled. I'm unable to enable it so that I can enter the hostname for which to bind.
The certificate "issued to" field is in *.example.com format.
How does one enable the Host name box for editing?
EDIT: The proposed duplicate does not answer my ACTUAL question, which is "why is this box grayed out and not enabled?" Additionally, that question is dated, and does not consider an approach used here: https://blogs.msdn.microsoft.com/varunm/2013/06/18/bind-multiple-sites-on-same-ip-address-and-port-in-ssl/
Solution 1:
The issue here is the way IIS identifies a wildcard certificate. It doesn't look in the Issued to
field but in the Friendly name
field of the certificate. That field has to start with the *
wildcard character.
You can change the friendly name without any consequences, start mmc.exe
as an elevated administrator and add the Snap-in for Certificates - Computer Account - Local Computer
Find the certificate in the Personal - Certificates
folder, open the properties dialog and change the Friendly name
to begin with a *
.
You may have to restart IIS Manager to see the new name.
The Host name
field should now be editable.