tencent cloud

SSL Certificates

문서SSL CertificatesTroubleshootingHost Name Field Cannot Be Edited in IIS Manager When Type Is Set to https

Host Name Field Cannot Be Edited in IIS Manager When Type Is Set to https

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-03-06 17:56:24

Symptom

During certificate installation with IIS Manager, Host name is grayed out and cannot be edited if you set Type to https when adding site binding after importing the PFX certificate file.

Possible causes

Windows Server 2008 does not support the operation, and you need to modify the corresponding file.

Solutions

1. Open the applicationHost.config file in the C:\\Windows\\system32\\inetsrv\\config\\applicationHost.config directory.
2. Modify the file content as follows:
Note:
Take the tencent.com domain as an example.
Change <binding protocol="https" bindingInformation="*:443:" /> to <binding protocol="https" bindingInformation="*:443:tencent.com" />.
If you cannot modify the file directly, modify it with the admin permission, or copy the file to the desktop for modification and replace the original file.
<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. Add site binding again after saving the file.

도움말 및 지원

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

피드백