Last updated on November 9th, 2026 at 02:09 pm
To install OpenSSL on Windows 10, right-click Start, select Windows PowerShell, and run winget install --id ShiningLight.OpenSSL.Light -e. When it finishes, close the window, open a new one and run openssl version. If you see a version number such as OpenSSL 4.1.0, it’s installed. If you see “not recognized,” add the program’s bin folder to your Path (covered below).
One thing to know first: the OpenSSL project itself publishes only source code. There is no official OpenSSL installer for Windows. Every ready-to-run Windows copy, including the winget package above, is built by someone else. The project keeps an informal list of third-party distributions but says it doesn’t endorse or test any of them, so the choice of builder matters.
Applies to: Windows 10 version 22H2. The same commands work on Windows 11. OpenSSL versions are current as of October 2026.
Which way should you install it?
There are five realistic routes. Pick by what you need OpenSSL for and how much you trust each source.
| Method | Who builds it | Best for |
|---|---|---|
| winget package | A third-party builder (Shining Light Productions or FireDaemon), delivered through Microsoft’s community package repository | Most people who want the openssl command in any terminal |
| Git for Windows | The Git for Windows project, which bundles OpenSSL | Occasional certificate or hash jobs if Git is already installed |
| WSL (Ubuntu) | The Linux distribution, which patches it for security | People who follow Linux tutorials or scripts |
| Download an installer by hand | The same third-party builders as winget | PCs where winget isn’t available |
| Build from source | You, from the official OpenSSL source code | Developers who need full control or must avoid third-party binaries |
Building from source is the only route where the code comes straight from the OpenSSL project. Every other route means trusting a second party to compile it honestly and keep it updated. The builders listed here are long-standing and widely used, but they are still separate from OpenSSL.
Is there an official OpenSSL installer for Windows?
No. The OpenSSL project releases source code only. Windows installers, winget packages and the copy inside Git for Windows are all compiled by other organizations. The project lists some of them on its wiki but says it hasn’t evaluated or tested them.
Which OpenSSL version to choose
According to the official OpenSSL downloads page, these release lines are supported as of October 26, 2026:
- 4.1 (4.1.0, released October 23, 2026): the newest line, supported until November 2027.
- 4.0 (4.0.3): supported until May 14, 2027.
- 3.6 (3.6.5): support ends November 1, 2026, so don’t start with it now.
- 3.5 (3.5.9): the long-term support (LTS) release, supported until April 8, 2030.
The project says every version not on that list, including 1.1.1 and 3.0, is out of support and shouldn’t be used in production. Many older guides still recommend 1.1.1, which stopped getting public fixes in 2023. If a program you use was written for OpenSSL 3, choose the 3.5 LTS line. Otherwise, the newest release is fine.
Method 1: Install OpenSSL with winget
winget (the Windows Package Manager) comes with the App Installer app on Windows 10 version 1809 and later. Packages come from Microsoft’s community repository, where each publisher’s build is submitted with a checksum that winget checks during download. Microsoft doesn’t build or audit the software itself, and its winget documentation advises installing only apps you trust.
- Right-click Start and select Windows PowerShell. A normal window is fine. You’ll approve an administrator prompt during the install.
- Type
winget search openssland press Enter. If winget asks you to accept source agreements, type Y. You’ll see a list with a Name, Id, Version and Source column. If PowerShell says winget isn’t recognized, update App Installer from the Microsoft Store. - Find the package you want in the Id column. As of October 2026, the main choices are:
ShiningLight.OpenSSL.Light: the newest release (4.1.0), command-line tools only.ShiningLight.OpenSSL.LTS.Light: the 3.5 LTS line, for long-term stability.ShiningLight.OpenSSL.Dev: adds headers and libraries for programmers.FireDaemon.OpenSSL: a signed build that doesn’t need the Visual C++ runtime.

- Install it with the exact ID, for example
winget install --id ShiningLight.OpenSSL.Light -e. The-eswitch makes winget match the ID exactly so it can’t pick a look-alike package. Select Yes when User Account Control asks for permission. - Wait for Successfully installed. Then close PowerShell completely and open a new window, because an open window keeps its old Path.
- Run
openssl version. You should see a line such as OpenSSL 4.1.0 23 Oct 2026.

If step 6 says ‘openssl’ is not recognized, the installer didn’t add OpenSSL to your Path. The Shining Light build normally installs to C:\Program Files\OpenSSL-Win64, and the FireDaemon build installs to C:\Program Files\FireDaemon OpenSSL 4 (or 3.5 for that line). Add the bin folder inside it to the Path variable, the same way you’d set environment variables in Windows 10, then open a new window and try again.
Missing DLL errors: Shining Light builds rely on the Microsoft Visual C++ runtime. If you see an error naming VCRUNTIME140.dll or a similar file, install the latest supported Visual C++ Redistributable (the X64 version for 64-bit Windows) and run openssl version again.
Does Windows 10 already include OpenSSL?
Not as a command you can run. Windows uses its own security library for HTTPS. The OpenSSH client built into Windows 10 is a different program, despite the similar name. If you only need a file hash, PowerShell’s Get-FileHash works without OpenSSL, and New-SelfSignedCertificate can make a test certificate directly in the Windows certificate store.
Do I need OpenSSL to use Python or Node.js?
No. Both bundle their own OpenSSL libraries for secure connections, so installing Python or installing Node.js on Windows 10 is enough on its own. You only need a separate OpenSSL for the openssl command itself.
Are Chocolatey and Scoop safe alternatives?
They work, but they are community package managers that you have to install first, and their OpenSSL packages are also third-party builds. If you already use one, it’s a reasonable choice. If not, winget is built into Windows 10 and needs nothing extra.
Once openssl version shows a supported release, try the test certificate command above with your own site name to see the whole process work from start to finish.
Method 2: Use the OpenSSL that comes with Git for Windows
If you’ve installed Git, you already have OpenSSL. Git for Windows ships its own copy and updates it with Git; recent releases include OpenSSL from the 3.5 LTS line.
- Select Start, type Git Bash, and open it.
- Run
openssl version. You should see an OpenSSL 3.5 version line. - To use it from Command Prompt or PowerShell without changing your Path, call it by its full location:
"C:\Program Files\Git\usr\bin\openssl.exe" version.
This copy stays current only when you update Git, so run git update-git-for-windows or winget upgrade --id Git.Git -e now and then. Avoid adding Git’s usr\bin folder to your Windows Path just for OpenSSL, because that folder also holds Linux-style tools such as find and sort that can replace the Windows commands of the same name.
Method 3: Install OpenSSL inside WSL
The Windows Subsystem for Linux runs a real Linux distribution next to Windows. Linux distributions package OpenSSL themselves and backport security fixes into it, so you get updates through the normal Linux update command.
- If you don’t have WSL yet, install WSL on Windows 10. Microsoft’s WSL install guide requires Windows 10 version 2004 (build 19041) or later for the one-command setup, which installs Ubuntu by default.
- Open Ubuntu from the Start menu.
- Run
sudo apt update && sudo apt install openssland enter your Linux password. On Ubuntu, OpenSSL is usually installed already, and apt will say it’s the newest version. - Run
openssl versionto confirm.
Your Windows drives appear under /mnt, so a file on your Windows desktop is at a path like /mnt/c/Users/Alex/Desktop/cert.pem. The version number may look older than 4.1 because distributions keep one release and patch it rather than jumping to new ones.
Method 4: Download an installer by hand
If winget isn’t available, you can download the same builds from their publishers’ websites. The OpenSSL project’s wiki lists Shining Light Productions and FireDaemon among the known Windows builders. Before you run anything:
- Get the file only from the publisher’s own site. Avoid download mirrors and “OpenSSL for Windows” sites you can’t trace back to a known builder.
- Pick the right file. Choose the Win64 installer for 64-bit Windows 10 and the Light edition unless you’re writing software. Win32 builds are only for 32-bit Windows.
- Check the checksum. Compare the SHA-256 hash the publisher lists with the hash of your download. Our guide to checking a SHA256 checksum in Windows 10 shows how with
Get-FileHash. - Check the signature. Right-click the downloaded file, select Properties, and look for a Digital Signatures tab naming the publisher.
Run the installer, keep the default folder, and when you’re asked where to copy the OpenSSL DLLs, choose the OpenSSL bin folder rather than the Windows system folder so other programs aren’t affected. Then follow steps 5 and 6 of Method 1.
Method 5: Build OpenSSL from source
This is the only route that uses code straight from the OpenSSL project, and it’s how you get a build no one else has touched. It takes some setup. The project’s Windows build notes list what you need:
- Install Visual Studio (the free Community edition works) with the Desktop development with C++ workload, plus Strawberry Perl and NASM. Make sure Perl and NASM are on your Path.
- Download a release tarball, such as openssl-3.5.9.tar.gz or openssl-4.1.0.tar.gz, from the OpenSSL downloads page, check it against its published SHA-256 file, and extract it.
- Open x64 Native Tools Command Prompt for VS as administrator from the Start menu, and change to the extracted folder.
- Run
perl Configure VC-WIN64A, thennmake, thennmake test, thennmake install.
If nmake test reports failures, don’t install that build. Rebuilding from source is also how you update, so plan to repeat this whenever a security release comes out.
Confirm it works and find the right copy
Run openssl version -a. The openssl version documentation explains each line. The two that matter most are the first line (the version) and OPENSSLDIR, the folder where this copy looks for its configuration file, openssl.cnf.
Many programs carry their own OpenSSL, so you may have several. In Command Prompt, run where openssl to list every copy on your Path in the order Windows checks them. The first line is the one that runs when you type openssl. PHP has its own openssl extension, which Composer relies on: you switch it on in php.ini and keep the PHP folder on your Path, both covered in the steps to install PHP in Windows 10.

To try a real task, create a test certificate for a fictional site:
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -noenc -subj "/CN=test.example.com"
Then read it back with openssl x509 -in cert.pem -text -noout. Older guides use -nodes instead of -noenc; both still work, but -nodes has been deprecated since OpenSSL 3.0. Keep in mind that -noenc saves the private key without a password, so store key.pem somewhere private. If you need the certificate in Windows itself, see how to install a certificate on Windows 10.
openssl not recognized or config errors
“openssl is not recognized as an internal or external command”
Either the window was open before you installed OpenSSL, or its bin folder isn’t on your Path. Open a new window first. If that doesn’t help, add the folder (not the openssl.exe file itself) to Path, then open another new window.
“Can’t open openssl.cnf” or “unable to load config info”
The copy you’re running can’t find its configuration file. Some builds deliberately skip loading one by default. Find openssl.cnf in your OpenSSL folder, then point to it for the current Command Prompt session with set OPENSSL_CONF=C:\path\to\openssl.cnf, using your build’s real path. To make it permanent, add OPENSSL_CONF as a user environment variable.
The wrong version runs
Run where openssl. If an older copy appears first, move your new OpenSSL bin entry above it in the Path list, or remove the old program if you no longer need it.
winget installs a different package than expected
Always use --id with -e and copy the ID from winget search. A plain winget install openssl can match more than one package.
Update or remove OpenSSL
OpenSSL gets security releases several times a year, so updating matters more than the first install.
- winget installs: run
winget upgradeto see what has updates, thenwinget upgrade --id ShiningLight.OpenSSL.Light -e(with your package’s ID). To remove it, runwinget uninstall --id ShiningLight.OpenSSL.Light -e. - Git for Windows: update Git.
- WSL: run
sudo apt update && sudo apt upgradeinside Ubuntu. - Manual installs: uninstall the old version from Settings > Apps > Apps & features, then install the new one.
After removing OpenSSL, delete its bin entry from Path and any OPENSSL_CONF variable you added.
Updating OpenSSL doesn’t patch Windows itself. If your PC isn’t enrolled yet, here’s how to enroll in Windows 10 Extended Security Updates.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.