tencent cloud

Feedback

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

Last updated: 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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support