Install OpenSSL on Windows Server 2022

In this tutorial, we want to show you How To Install and Configure OpenSSL on Windows Server 2022.

OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.

Steps To Install and Configure OpenSSL on Windows Server 2022

To complete this guide, you must log in to your Windows Server and follow the steps below.

This guide will cover the installation of OpenSSL on Windows Server 2019, 2016, and 2012.

Download OpenSSL For Windows

First, you must visit the OpenSSL Downloads Page and take the latest version of OpenSSL that matches your CPU architecture. You have an option of choosing the Light version or the full version.

Here we will download the 64-bit full version.

Also, you can use the curl.exe command to download it from the PowerShell Admin:

curl.exe -L -o Win64OpenSSL.exe
PS C:\Users\Administrator> curl.exe -L -o Win64OpenSSL.exe
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  141M  100  141M    0     0  2071k      0  0:01:10  0:01:10 --:--:-- 5968k

When your installation is completed, run the installer by double-clicking on .exe file or from PowerShell run the command below:


Set up OpenSSL on Windows Server 2022

When you run the OpenSSL file, maybe you will get and massage that you need to install the required packages, click yes to complete. Then, you will see the  Software license agreement. Click I accept the agreement and click Next.

license agreement openssl
license agreement

Here you need to select the destination folder where OpenSSL will be installed on your Windows server and click Next.

openssl destination folder
destination folder

Next, you need to choose the directory for the application shortcut and click Next.

openssl app shortcut
Start menu folder

At this point, you need to choose the additional tasks to be performed and click Next.

additional tasks for openssl
Additional tasks

At this point, you can start your OpenSSL installation on Windows Server 2022 by clicking Install.

Install Openssl on Windows server
Ready To Install

This will take some time to complete.

Then, click Finish to end your OpenSSL installation of your Windows Server.

Finish OpenSSL setup on Windows server
Finish Setup

Configure OpenSSL on Windows Server 2022

At this point, you need to add C:\OpenSSL-Win64 to the Windows environment PATH. From your PowerShell Admin run the command below:

$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + "C:\OpenSSL-Win64\bin", "User")

Note: For a 32-bit system, replace OpenSSL-Win64 with OpenSSL-Win32.

Generate Certificates with OpenSSL

Now you are ready to use OpenSSL on Windows Server 2022 to generate certificates. Start by exporting OPENSSL_CONF.

set OPENSSL_CONF=C:\OpenSSL-Win64\bin\openssl.cfg

Then, create a test SSL certificate to validate our installation.

openssl.exe req -new -nodes -keyout server.key -out server.csr -newkey rsa:2048


At this point, you have learned to Install and Configure OpenSSL on Windows Server 2022.

Hope you enjoy it.

You may be like these articles on the Orcacore website:

Disable Administrator Account on Windows 11

How To Change Mouse Speed on Windows 10



Please enter your comment!
Please enter your name here
Captcha verification failed!
CAPTCHA user score failed. Please contact us!
Latest Articles


Most Popular