tencent cloud

피드백

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

마지막 업데이트 시간: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.
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원