To install OpenSSL on Windows, download the official installer for your PC’s architecture, run it, and select Application and Adjust PATH. After installation, open a new terminal and run openssl version -a to confirm that you can use it. The official graphical installer works on Windows 10 and Windows 11.
The short version
- Official installer: Choose an EXE or MSI matching your Windows architecture.
- Installation options: Select Application and Adjust PATH for ordinary command-line use.
- Package manager: WinGet can install the Shining Light Light edition with one command.
- Final check: Open a new terminal and run
openssl version -a.
| Method | When to use it | Main consideration |
|---|---|---|
| Official EXE or MSI | Native Windows installation | Select Application and Adjust PATH |
| WinGet Light package | Command-line use | Installs the Shining Light distribution |
| WinGet development package | Development requiring headers and libraries | Removes the previous version during upgrades |
| Shining Light graphical installer | Alternative native Windows distribution | Choose Light for command-line use or full for development |
| FireDaemon ZIP | Portable files in a folder or on USB storage | Configure the executable and configuration paths |
| Windows environment variables | Make an installed executable available in future terminals | Preserve existing Path entries |
| PowerShell session PATH | Make an installed executable available temporarily | The change lasts only for that session |
Choose the right Windows download
Open the official OpenSSL Windows releases page and expand Assets for the latest release. Choose an EXE or MSI installer that matches your architecture. Select x64 for Intel or AMD 64-bit Windows, arm64 for Windows on Arm, or x86 for 32-bit applications.
Use the Windows installer downloads when you want ready-to-run software. The separate OpenSSL source downloads contain source archives for compiling your own installation. Choose a maintained release rather than following older tutorials that pin OpenSSL 1.0.2, 1.1.1 or 3.0 as the ordinary download.
You may also see VS and hybridCRT variants among the installers. The VS variant supplies the required Visual C++ runtime, while hybridCRT avoids that dependency. ARM64 installers use hybridCRT and require Windows 10 or later.
Run the official installer
Run the downloaded EXE or MSI and set Installation folder to the location you want to use. Select Application to install the application, then select Adjust PATH so Windows can find its command. Select Development kit only when you need development files, then complete the installation.
Check that OpenSSL runs
Close your existing Command Prompt or PowerShell window and open a new one after installation. Run the following command to display the installed OpenSSL version and additional details:
openssl version -aWhen the command returns OpenSSL version information, the application is accessible from that terminal. If the terminal cannot find the command, follow the PATH instructions below. Those steps apply to a native Windows installation whose executable folder was not added to PATH.
Install with WinGet instead
WinGet can install the Shining Light Light edition of OpenSSL from a terminal. This route applies to Windows 11 and Windows 10 version 1809 or later with App Installer. Open Command Prompt or PowerShell and run:
winget install --exact --id ShiningLight.OpenSSL.Light --source wingetAfter installation, close and reopen the terminal so it picks up the updated environment. Check the installation with:
openssl version -aThe Light edition is intended for ordinary command-line use. If you need headers and libraries for development, use the development package with the command below. When used for an upgrade, this package removes the previous version during the upgrade.
winget install --exact --id ShiningLight.OpenSSL.Dev --source wingetIf WinGet is not available in your Windows setup, use the official graphical installer described above. If installation finishes but the terminal cannot find OpenSSL, follow the PATH steps below.
Use the Shining Light graphical installer
For a graphical installation of the Shining Light distribution, open its Windows OpenSSL download page. Choose the Win64 or Win32 package that matches your requirements. Shining Light labels its ARM64 builds as very experimental, so on Windows on Arm use the official arm64 installer described above instead. Select Light for ordinary command-line use or the full package for development.
Choose the EXE or MSI download and run the installer. After installation, open a new terminal and run openssl version -a. If Windows cannot find OpenSSL, add the actual folder containing its executable to PATH using the instructions below.
Set up a portable OpenSSL folder
You can keep the FireDaemon portable distribution in a local folder or on USB storage. Open the FireDaemon OpenSSL download page and choose the ZIP distribution. Extract the archive, then choose the x86, x64 or ARM64 folder that matches your requirements.
Copy the contents of that one architecture folder into C:\OpenSSL. Copy the ssl folder into C:\OpenSSL\ssl. In Command Prompt, set the configuration-file location with:
set OPENSSL_CONF=C:\OpenSSL\ssl\openssl.cnfNext, add the executable folder to the command environment’s PATH. Use the following command for the folder layout above:
set PATH=C:\OpenSSL\bin;%PATH%Keep the same Command Prompt window open for the check. Run the following command to display OpenSSL’s version information:
openssl version -aMake Windows find the OpenSSL command
If a native installation is complete but the terminal cannot find OpenSSL, add its executable directory to PATH. Use the actual folder containing openssl.exe, since the location depends on your installation. Preserve the existing PATH entries when adding the OpenSSL folder.
Open System > Advanced System Settings > Advanced > Environment Variables.... Edit Path in the User or System scope to include the directory containing openssl.exe. Editing System variables requires appropriate permissions.
Close and reopen the terminal after saving the change. Run the version command again to check that Windows can now find the application:
openssl version -aFor a temporary change in PowerShell, add the folder to the current session’s PATH instead. Substitute your real executable directory for C:\OpenSSL\bin in this command:
$env:Path = 'C:\OpenSSL\bin;' + $env:PathThat PowerShell change lasts only for the current session. Run openssl version -a in the same window to check it, or use the Environment Variables steps above when you need the folder included in future terminals.
Frequently Asked Questions
Can you use OpenSSL that comes with Git for Windows?
Yes, if the current full Git for Windows distribution is already installed, open Git Bash and run openssl version -a. Availability outside Git Bash depends on PATH. Update the bundled OpenSSL by updating Git for Windows.
Does installing OpenSSL in WSL also install it for Windows?
Installing OpenSSL inside Ubuntu under WSL installs the Linux package, not a native Windows executable. Run its commands inside Ubuntu, where the Linux distribution manages the package.
Do you need the FIPS provider during installation?
You do not need the FIPS provider for ordinary command-line use; it is an optional specialist component. If you select FIPS provider, you must also install Application. The validated FIPS choice is unavailable in hybridCRT installers.
Can you upgrade an existing official OpenSSL installation?
OpenSSL’s release documentation supports upgrading an official 4.1.0 installation to 4.1.1 in place. Download and run the matching 4.1.1 installer for that upgrade.