How to Generate a CSR (Certificate Signing Request) and Install a Certificate in IIS
To obtain an SSL certificate from a Certification Authority (CA), you first need to generate a CSR (Certificate Signing Request) using the IIS Manager. Follow the steps below to complete the process.
Generating the CSR
- Open Internet Information Services (IIS) Manager from the Start menu or by running
inetmgr. - On the main screen, select Server Certificates (middle panel).
- In the right Actions pane, click Create Certificate Request.
- Fill in the required information in the wizard (e.g., domain name, organization, city) and generate the .CSR file.
- Submit the CSR file to your Certification Authority (CA) to receive a signed certificate.
Installing the Certificate in IIS
- Once you receive the
.crtfile from the CA, return to the IIS console. - Select Server Certificates again.
- Click Complete Certificate Request and use the wizard to import the
.crtfile.
Applying the Certificate to Remote Desktop Gateway
- Open Remote Desktop Gateway Manager by running the following command:
tsgateway.msc
- Within the manager, import the certificate to complete the security configuration for the RDP gateway.