====== 4.1 Check Version ======
This page shows how to verify your OpenSSL installation.
----
===== Basic Check =====
# Path to openssl.exe
$openssl = "D:\Projects\openssl-3.6.0\bin\bin\openssl.exe"
# Show version
& $openssl version
Expected output:
OpenSSL 3.6.0 11 Feb 2025 (Library: OpenSSL 3.6.0 11 Feb 2025)
----
===== Detailed Build Information =====
& $openssl version -a
Expected output:
OpenSSL 3.6.0 11 Feb 2025 (Library: OpenSSL 3.6.0 11 Feb 2025)
built on: Mon Feb 17 10:23:45 2025 UTC
platform: VC-WIN64A
options: bn(64,64)
compiler: cl /Zi /Fdossl_static.pdb /Gs0 /GF /Gy /MD /W3 /wd4090 /nologo /O2
OPENSSLDIR: "D:\Projects\openssl-3.6.0\bin\ssl"
ENGINESDIR: "D:\Projects\openssl-3.6.0\bin\lib\engines-3"
MODULESDIR: "D:\Projects\openssl-3.6.0\bin\lib\ossl-modules"
----
===== What Do the Fields Mean? =====
| Field | Meaning |
|-------|---------|
| ''platform: VC-WIN64A'' | Visual C++, Windows 64-bit |
| ''bn(64,64)'' | 64-bit bignum (fast) |
| ''compiler: cl'' | Microsoft C/C++ compiler |
| ''OPENSSLDIR'' | Configuration files (openssl.cnf) |
| ''MODULESDIR'' | Provider modules (fips.dll, legacy.dll) |
----
===== Check Configuration Paths =====
# Check if openssl.cnf exists
Test-Path "D:\Projects\openssl-3.6.0\bin\ssl\openssl.cnf"
# Check if modules exist
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\lib\ossl-modules"
Expected modules:
Directory: D:\Projects\openssl-3.6.0\bin\lib\ossl-modules
Mode Length Name
---- ------ ----
-a---- 524288 legacy.dll
-a---- 1048576 default.dll
-a---- 2097152 fips.dll # only with enable-fips
----
===== List Providers =====
& $openssl list -providers
Expected output (standard build):
Providers:
default
name: OpenSSL Default Provider
version: 3.6.0
status: active
With FIPS:
Providers:
base
name: OpenSSL Base Provider
version: 3.6.0
status: active
fips
name: OpenSSL FIPS Provider
version: 3.6.0
status: active
----
===== Check DLL Dependencies =====
Make sure the DLLs are present:
# Main directory
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll"
# Expected output:
# libcrypto-3-x64.dll
# libssl-3-x64.dll
# Check DLL sizes (should not be empty!)
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll" | Format-Table Name, Length
Typical sizes:
| DLL | Size (approx.) |
|-----|----------------|
| libcrypto-3-x64.dll | 4-6 MB |
| libssl-3-x64.dll | 500-800 KB |
----
===== Problems? =====
| Symptom | Possible Cause | Solution |
|---------|----------------|----------|
| No output | PATH wrong | Use full path |
| Version < 3.6 | Wrong binary | Check correct directory |
| ''OPENSSLDIR'' wrong | Build error | Reconfigure with ''--prefix'' |
→ [[.:.:troubleshooting|Troubleshooting]]
----
===== Continue to =====
* [[.:algorithmen-testen|Test Algorithms]]
* [[.:fips-validieren|Validate FIPS Mode]]
----
//Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional//