Site icon BDWEBIT Blog

Install SSL Certificate Windows Server 2019 Without IIS: Step-by-Step Guide

Install SSL Certificate Windows Server 2019 Without IIS

Yes, it is possible to install an SSL certificate in Windows Server 2019 without the use of Internet Information Services (IIS). While IIS is the most common method for generating a Certificate Signing Request (CSR) and binding SSL certificates, many system administrators need SSL for other applications such as Microsoft Exchange, SQL Server, Remote Desktop Services (RDS), or third-party web servers like Apache, Nginx, or Tomcat. Once this occurs, you will be able to install and manage the SSL certificates using the Microsoft Management Console (MMC) or using PowerShell without the involvement of IIS.

In this blog, we will walk through everything you need to know about installing SSL certificates on Windows Server 2019 without IIS. You will also know the reasons why you need to use SSL, how to create and import your certificate, and how to do it step by step.

Why Install SSL Without IIS?

Most tutorials online explain SSL installation through IIS because it’s integrated into Windows Server. However, not all servers run IIS. For example:

Under these circumstances, IIS is not required, and administrators have to install and maintain SSL certificates by hand.

Before You Begin, Prerequisites

  1. SSL Certificate Files – Issued by a Certificate Authority (CA). Typically in .cer, .crt, or .pfx formats.
  2. Private Key (where necessary) – In the event that you created the CSR outside IIS, you will require the private key.
  3. Windows Server 2019 – Up to date and available.
  4. Admin Access – You need administrative rights to install certificates.

Ways to Install the SSL Without IIS

SSL certificates can be installed on Windows Server 2019 without IIS in two ways:

We will discuss each of these approaches one by one.

Method 1: Install SSL Certificate via MMC

The easiest way to install non-IIS-based SSL certificates is via the Microsoft Management Console (MMC).

Step-1: Open MMC

Step-2: Click the Certificates Snap-in

Step-3: Import the SSL Certificate

Step-4: Fill out the Import Wizard

Step-5: Check the Certificate Installation

By this time, the SSL certificate is in place and is set to be bound to any service like Exchange, RDS, or SQL Server.

Method 2: Install SSL Certificate via PowerShell

To the extent that this is not the property that the administrators seek and that automation is the sought feature, PowerShell could also be a simplistic way of importing and maintaining the certificates.

Step 1: Open PowerShell as Administrator

Step 2: Import the SSL Certificate

Once you have a .pfx file, then the following command is used:

powershell   Copy code
$password = ConvertTo-SecureString -String "yourPFXpassword" -Force -AsPlainText
Import-PfxCertificate -FilePath "C:\path\to\certificate.pfx" -CertStoreLocation Cert:\LocalMachine\My -Password $password

Step 3: Confirm Installation

To view the installed certificates, do the following:

powershell Copy code
Get-ChildItem Cert:\LocalMachine\My

This lists all certificates in the Personal store.

Step 4: Bind the Certificate to a Service (Optional)

To bind the Remote Desktop to SSL, type:

powershell Copy code
$cert = Get-ChildItem -Path Cert:\LocalMachine\My | Where-Object { $_.Subject -match "yourdomain.com" }
Set-RDCertificate -Role RDS-Connection-Broker -Thumbprint $cert.Thumbprint

This uses the SSL certificate to protect Remote Desktop.

Application Binding of SSL Certificates

Once an SSL certificate has been installed, you have to bind it to the application or service. The most typical bindings are:

Problem Solving General Problems

Best Practices for SSL on Windows Server 2019

Final Thoughts

Windows Server 2019 allows you to install an SSL certificate without IIS, and in some cases, it is necessary, depending on the application, beyond a traditional web hosting scenario. It is easy to import and manage the RDS, Exchange, SQL server, or third-party server SSL certificates using MMC or PowerShell.

It will provide you with a safe, encrypted tunnel that safeguards the sensitive information and gains the trust of your users with the appropriate certificate attached and bound.

Exit mobile version