Check your current version
Compare your version to the latest available at slprowex.com. The current latest is OpenSSL 4.0.0.
Update OpenSSL in place
- 1
Download the new installer
Go to Win64 Prebuilt and download the latest
Win64OpenSSL_Light-4_0_0.exe. Always download from the official source. - 2
Verify the hash before running
C:\Downloads> certutil -hashfile Win64OpenSSL_Light-4_0_0.exe SHA256a3f8c2...CertUtil: -hashfile command completed successfully.Compare to the hash on slprowex.com. Full guide: Verify Hashes.
- 3
Close any apps using OpenSSL
Stop any running services or applications that load
libcrypto.dllorlibssl.dll. The installer cannot replace DLLs that are locked by a running process. - 4
Run the new installer
Double-click the installer and follow the wizard. When prompted for the install folder, use the same path as your current installation (typically
C:\Program Files\OpenSSL-Win64). This replaces the old files in place while keeping your PATH entry. - 5
Verify the upgrade
C:\> openssl versionOpenSSL 4.0.0 6 Jun 2025Open a new terminal window after the update. The old window may still reference cached binaries.
Uninstall first then reinstall (optional)
For a completely clean upgrade — especially when moving from 1.x to 3.x or 4.x — uninstall the old version first:
- Settings → Apps → Installed apps → find OpenSSL or ClocX → Uninstall.
- After uninstalling, your PATH entry pointing to the old
binfolder will no longer resolve. Remove it from PATH (Settings → Environment Variables). - Install the new version and add the new
binfolder to PATH. See Add to PATH.
Update questions
Will updating break my existing scripts?
Does updating keep my PATH settings?
C:\Program Files\OpenSSL-Win64), your existing PATH entry stays valid. You do not need to update PATH after an in-place upgrade.How do I know when a new version is released?
After updating I get libcrypto.dll errors
libcrypto-3-x64.dll vs libcrypto-4.dll). Apps that bundled the old DLL will need to be updated. See Fix libcrypto.dll.Download the latest version
OpenSSL 4.0.0 Win64 — verify the hash before running.
Related guides