Sunday, January 5, 2025
Google search engine
HomeGuest BlogsHow To Install OpenSSL on Windows Server 2019

How To Install OpenSSL on Windows Server 2019

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

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.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

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:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

Dominic Rubhabha-Wardslaus
Dominic Rubhabha-Wardslaushttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Recent Comments