This document provides information on how to configure the IIS publishing profile to make it possible to install and publish certificates.
Requirements
- A certificate generated and signed by a CA. More information in How to create a request and How to sign a request.
- A credential registered in Segura® with access to the IIS server. More information in How to configure a credential in Segura®.
- A device registered in Segura® for the IIS server. More information in How to configure a device. If the device is not directly reachable from the Segura® Platform, configure a Network Connector on the device before you create the publishing profile. A Network Connector configured on the device always takes precedence over a global Network Connector.
- A WinRM connectivity on the device. Without it, the publication fails with the error
Device without WinRM connectivity. - An HTTPS binding on the IIS site, on the port you enter in the Site port field. Segura® adds the certificate to this existing binding and does not create it.
Configure IIS
To configure IIS, see the following steps:
- On Segura®, in the navigation bar, hover over the Products menu and select Certificate Manager.
- In the side menu, select Publishing > Publishing profiles.
- In the actions button, select IIS.
- In the Settings tab, enter the following information:
- In the Profile name *, enter the profile's name.
- In the Credential username, enter the credentials' name.
- Optional: Check the Use a registered credential to access all devices option and, in the Access credential registered in the system, select the access credential registered in Segura® to be used.
- Click Continue.
- In the IIS tab, enter the following fields:
- In the Access port WinRM field, enter the port used to connect via Windows Remote Management. Use port 5985 for WinRM HTTP, or port 5986 for WinRM HTTPS. The default is 5986. This port overrides the port of the device's WinRM connectivity.
- In the Site name field, enter the name of the website the SSL certificate applies to. This field is required to publish, even though the form does not mark it as required. Without it, the execution log records that the binding could not be created because the site or the port was not provided.
- In the Site port field, enter the port used for HTTPS connections. The default port is 443.
- In the Certstore name field, enter the name of the Windows certificate store where the SSL certificate will be stored. The default is
MY.
The automatic certificate publishing feature using the IIS plugin requires Windows Server 2019 or a later version. If you are using a legacy system, upgrade to version 2019 or above to ensure compatibility.
- Click Continue.
- In the Devices tab, select the IIS server.
- The device must be previously registered in Segura®.
- The Network Connector column shows Yes or No, depending on whether the device has its own Network Connector agent configured.
- In the Review tab, review all information entered previously, including the Network Connector column, and click Save.
Verify your results
After Segura® publishes the certificate, it uses the same Network Connector configured on the device to verify the installed certificate. The IIS plugin follows the same install-then-verify pattern as the Apache, Tomcat, and Nginx publishing profiles.
The execution logs mask the certificate content (PFX).