How To

How To Install OpenSSL on Windows Server 2019

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.

Original content from computingforgeeks.com - post 8594

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-3_0_0.exe

See screenshot below.

install openssl windows 01

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”.

install openssl windows 02

Select destination folder where OpenSSL will be installed.

install openssl windows 03

Select directory for Application shortcut.

install openssl windows 04

Select additional tasks to be performed.

install openssl windows 05

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

install openssl windows 06

Give installation few minutes to complete.

install openssl windows 07

Click “Finish” to end successful installation.

install openssl windows 08

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

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

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

install openssl windows 09

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-Win64\bin\openssl.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

Also read the following articles available in our website.

Keep reading

Create Bootable Windows USB and Install Windows 11 Windows Create Bootable Windows USB and Install Windows 11 UFW Firewall Commands with Examples on Ubuntu 24.04 / 22.04 Security UFW Firewall Commands with Examples on Ubuntu 24.04 / 22.04 Setup WireGuard VPN on Ubuntu 24.04 / Debian 13 / Rocky Linux 10 Debian Setup WireGuard VPN on Ubuntu 24.04 / Debian 13 / Rocky Linux 10 How Organizations Can Turn Security Findings Into Actionable Improvements Security How Organizations Can Turn Security Findings Into Actionable Improvements How to Create SSH Tunnels on Linux (Local, Remote, Dynamic) Security How to Create SSH Tunnels on Linux (Local, Remote, Dynamic) Understanding Application Security: Why You Need It to Fight Cyber Crime Security Understanding Application Security: Why You Need It to Fight Cyber Crime

Leave a Comment

Press ESC to close