How to install OpenSSL on Windows Server 2019

Cpanel/Whm License $3/mo Plesk License $10/mo Cloudlinux License $5/mo

How to install OpenSSL on Windows Server 2019?, How to use OpenSSL on Windows server 2019?. OpenSSL is an open source library that provides cryptographic protocols used to secure applications and transfer of information between systems. Management of OpenSSL is under volunteers all around the worldwide.

In a nutshell, OpenSSL toolkit implements the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols with full-strength cryptography. This guide will show you how to install OpenSSL on Windows Server 2019.

Install OpenSSL on Windows Server 2019

Head over to OpenSSL downloads page and grab the latest build of OpenSSL that matches your CPU architecture. For me I’ll download 64-bit version. You have an option of choosing the Light version or full version.

You can also use curl.exe command to download from command line.

curl.exe -L -o Win64OpenSSL.exe  https://slproweb.com/download/Win64OpenSSL-1_1_0j.exe

See screenshot below.

Once the installation is complete, run the installer by double-clicking on .exe file or from PowerShell.

.Win64OpenSSL.exe

Accept Software license Agreement and click “Next”.

Select destination folder where OpenSSL will be installed.

Select directory for Application shortcut.

Select additional tasks to be performed.

Click “Install” to start installation of OpenSSL on Windows Server 2019.

Give installation few minutes to complete.

Click “Finish” to end successful installation.

Lastly add C:OpenSSL-Win64 to the Windows environment PATH.

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

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

Generate Certificates with OpenSSL on Windows Server 2019

You are now ready to use OpenSSL on Windows Server 2019 to generate certificates. Start by exporting OPENSSL_CONF.

set OPENSSL_CONF=C:OpenSSL-Win64binopenssl.cfg

For a 32-bit system, replace OpenSSL-Win64 with OpenSSL-Win32. Let’s create a test SSL certificate to validate our installation.

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

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More