Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to Install OpenSSL on Windows Computers
  • bluetooth headphones to mac 1200x628 1
    How to remove a Bluetooth device and connect a new Bluetooth device to Macbook Mac
  • ad lds 832x400 1
    Active Directory Lightweight Directory Services [AD LDS] Windows Server
  • PXE E18 Server response timeout
    Stuck at Start PXE over IPv4: PXE-E18 Server response timeout Windows
  • banner
    How to Fix Python was not found run without arguments to install from the Microsoft Store Windows
  • VHDX resizing and veeam back
    Hyper V Disk allocation: Why Veeam reports full size after Shrinking Windows Server
  • Stellar Exchange
    Exchange Recovery: Repair EDB Files and Recover Mailboxes Reviews
  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • Missing ADML File
    Fix an appropriate resource file could not be found for LAPS Windows

How to Install OpenSSL on Windows Computers

Posted on 07/11/202408/09/2025 Christian By Christian No Comments on How to Install OpenSSL on Windows Computers
OpenSSL on Windows

In this article, we shall discuss how to Install OpenSSL on Windows Computers. OpenSSL is an open-source command-line tool that is used to generate the SSL certificate and private key and is available in both versions 32 and 64 bit. Please see How to fix Windows Update Fails with Error 0x80092004, how to Fix the Port used for the Virtualhost is not an Apache Listen Port, and Shell Scripting: How to Automate a Process in Linux.

If you are using a UNIX variant like Linux or macOS, OpenSSL is probably already installed on your PC. In other words, OpenSSL is a cryptographic SSL/TLS tool kit, which provides a wide range of solutions for those who work on Digital Certificates, SSL/TLS testing, application development or implementation, application testing, and security testing.

It is licensed under an Apache-style license, which basically means that you are free to get and use it for commercial and non-commercial purposes subject to some simple license conditions.

There are a lot of things you can do using OpenSSL. Only a few of them are listed here:

  • You can create your own Certificate Authority and issue certificates on your network. 
  • Convert digital certificates from one to another format. 
  • Export or Import private keys from the certificates.
  • Validate the HTTPS connections to the destination website.
  • Verify the certificate of the destination website.
  • Run benchmark tests of your server and remote website.
  • Extract information like issuer, subject, issued and expiring dates, and fingerprint from certificates.
  • Create CSR.
  • Decode CSR and Certificates to verify contents.

Also, see Environment variables in Windows 10, What are the differences between a Role and a Feature, and How to Secure your API key in Postman.

Install OpenSSL On The Windows

First, you will have to download the latest version of OpenSSL from here. The installation procedure is very simple and straight. You should download the OpenSSL installer, run it to install, and configure Environment variables.

Download the OpenSSL installer, and choose the version that applies to your PC from here.

Download openssl

Run the EXE or MSI with default settings till completion and that should take care of installing OpenSSL. For me, I am downloading the MSI

openssl downloaded

Execute the downloaded installer file and install the OpenSSL on the Windows machine.

The installation procedure is quite simple and straight. By default, this is set to I do not accept the license.

Accept license
Openssl agreement accepted

Specify the Installation location

Select path

Click on Next if you are Okay with the program shortcut. If not, please use the Browse button to specify this.

Start Menu folder

I am fine with the defaults for the “Additional Tasks”. Click Next to proceed.

Openssl additonal tasks

click on the Install button to initiate the OpenSSL installation.

Install Openssl

If you wish to donate, then select any of the buttons. For me, I will uncheck and select finish. If you do not want to donate, pleae uncheck.

Openssl on windows finished
How to Install OpenSSL on Windows Computers fulfilled

Alternatively, you could also install OpenSSL via Cygwin. Cygwin offers a simple way to install a large collection of free and open-source software on Windows. See how How to install Ansible on Windows with Cygwin.

Please see How to determine Cygwin version, and how to view installed packages in Cygwin. Here is how to install additional packages via Cygwin, and How to view installed packages in Cygwin on Windows.

Why Create an environment variable?

To make OpenSSL accessible from any directory. That is, outside its own directory when opening a Command Prompt in an arbitrary location etc.

It is more convenient to use OpenSSL from the command line in the directory of your choice. After the initial install, the openssl.exe is only available from the directory where it resides as shown below. You could open a command prompt from here and perform the operations you want.

C:\Program Files\OpenSSL-Win64\bin

Set Environment variable

To add OpenSSL to your PATH (env variable) Open Run using ‘Windows’ + ‘r’ then type ‘sysdm.cpl‘. Go to Advanced > Environment Variable.

Or hit the Windows button on your keyboard or click it in the task bar, then search for “Environment Variables”.

Environment variable

In the system variables section, select Path and click Edit.

system variable path edit

Click on Browse.

browser openssl directory

Go to where the openssl.exe is, which should be at “This PC > Windows (C:) > Program Files > OpenSSL – Win64 > bin” and select that folder. Click OK.

openssl bin folder

The path has been added. Click on Ok on all open windows (wizards) until they are closed

Path added to envionrment variable

Verify that OpenSSL is now accessible from outside its own directory by opening a Command Prompt in an arbitrary location. I just opened the Command Prompt and left it at its default directory. Enter openssl version and see the result.

Note: If you already had a command prompt open. You will need to close and reopen in order for this to work

openssl version

In the OpenSSL commands below, replace the filenames in ALL CAPS with the actual paths and filenames you are working with.

View contents of PEM certificate file

To view the conetent of the .pem file, please run the command below.

openssl x509 -in CERTIFICATE.pem -text -noout

Learn the differences between Private and Public networks in Windows to VPN, and how to Convert a PEM Key to a PPK Key on a Linux and Windows.

Read Content of the Private Key (in .PEM format for Errors)

The command openssl rsa -in is used to process RSA private keys using OpenSSL. It allows you to read, modify, or convert RSA private keys in various formats with the command below. Here is an interesting article from SSL.

openssl rsa -in
View contents of PEM certificate file

Below is an explanation of what the command does

  • openssl: This is the OpenSSL command-line tool, which provides various cryptographic functions.
  • rsa: This specifies that you want to work with RSA private keys.
  • -in <filename>: This option specifies the input file, which should be an existing RSA private key file (in PEM format).

Please see Apache errors associated with WAMP installation for TeamPass, how to Setup VirtualHost with SSL on WAMP Server, and how to uninstall WAMPServer from Windows.

Converting to a different key format/Publick Key Extraction

You can also use the openssl rsa command to convert the key from one format to another. Such as from the PEM to DER, or to extract the public key from the private key as shown below.

openssl rsa -in private_key.pem -out public_key.pem
Apache keys
Extract public keys from private keys

The above command will invokes the OpenSSL command-line tool and instruct it to process an RSA private key.

  • -in private_key.pem specifies the input file (private_key.pem) that contains the RSA private key. This file must be in PEM format, which is a base64-encoded format that includes delimiters such as —–BEGIN PRIVATE KEY—– and —–END PRIVATE KEY—–.
  • -out public_key.pem specifies the output file (public_key.pem) where the extracted public key will be saved. The public key will be written to this file in PEM format as shown in the above image.

Note: The public key can be shared openly, while the private key must remain secure. Extracting the public key from the private key allows you to use the public key for encryption or verification while keeping the private key secure for decryption or signing.

I hope you found this article very useful on How to Install OpenSSL on Windows Computers. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: How to fix Windows Update Fails with Error 0x80092004
Next Post: Fix missing path and delete a Veeam Backup Repository

Related Posts

  • windows 1 2
    How does Dynamic Host Configuration Protocol work Windows Server
  • Using the Command Prompt to add and modify the Windows registry
    How to add and modify the Windows Registry from the Command Prompt Windows
  • banner 6
    How to Set a Static IP Address in Windows 11 Windows
  • f97cd picture1 128
    How to disable Windows Hardware Power Button Windows
  • TPM 1
    How to fix unable to find compatible TPM Windows
  • How to enable or disable Microsoft Defender Antivirus Active or Mode Mode
    Set Microsoft Defender Antivirus to Passive or Active Mode Anti-Virus Solution

More Related Articles

windows 1 2 How does Dynamic Host Configuration Protocol work Windows Server
Using the Command Prompt to add and modify the Windows registry How to add and modify the Windows Registry from the Command Prompt Windows
banner 6 How to Set a Static IP Address in Windows 11 Windows
f97cd picture1 128 How to disable Windows Hardware Power Button Windows
TPM 1 How to fix unable to find compatible TPM Windows
How to enable or disable Microsoft Defender Antivirus Active or Mode Mode Set Microsoft Defender Antivirus to Passive or Active Mode Anti-Virus Solution

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • bluetooth headphones to mac 1200x628 1
    How to remove a Bluetooth device and connect a new Bluetooth device to Macbook Mac
  • ad lds 832x400 1
    Active Directory Lightweight Directory Services [AD LDS] Windows Server
  • PXE E18 Server response timeout
    Stuck at Start PXE over IPv4: PXE-E18 Server response timeout Windows
  • banner
    How to Fix Python was not found run without arguments to install from the Microsoft Store Windows
  • VHDX resizing and veeam back
    Hyper V Disk allocation: Why Veeam reports full size after Shrinking Windows Server
  • Stellar Exchange
    Exchange Recovery: Repair EDB Files and Recover Mailboxes Reviews
  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • Missing ADML File
    Fix an appropriate resource file could not be found for LAPS Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.