tencent cloud

SSL Certificates

문서SSL CertificatesFAQsSSL Certificate InstallationWhat Should I Do If the Host Name Field Is Uneditable in the IIS Manager?

What Should I Do If the Host Name Field Is Uneditable in the IIS Manager?

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-03-06 18:01:41

What should I do if the host name field is uneditable in IIS Manager?

When installing a certificate in IIS Manager, after you import a PFX certificate file and set Type to https during website binding, the Host name field becomes uneditable. You can use the following method to address this problem.

Scenario

If Type is set to https during certificate installation in IIS Manager, the Host name field becomes uneditable after the SSL certificate is selected, as shown in the following example.


Solution

1. Open the applicationHost.config file in C:\\Windows\\system32\\inetsrv\\config\\applicationHost.config.
2. Make the following modifications:
Note:
tencent.com is used as the domain name in the following example.
Replace <binding protocol="https" bindingInformation="*:443:" /> in the following sample code with <binding protocol="https" bindingInformation="*:443:tencent.com" />.
If you cannot modify the file directly, try modifying it as an admin, or copy and paste it to your desktop, modify it, and then replace the original file with the modified one.
<site name="example.tencent.com" id="8">
<application path="/">
<virtualDirectory path="/" physicalPath="D:\\web\\tencent" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:80:example.tencent.com" />
<binding protocol="http" bindingInformation="*:80:www.tencent.com" />
<binding protocol="https" bindingInformation="*:443:" />
</bindings>
</site>
3. After saving the modified file, bind the website again.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백