====== 4.1 Version prüfen ======
Diese Seite zeigt, wie Sie die OpenSSL-Installation verifizieren.
----
===== Grundlegende Prüfung =====
# Pfad zur openssl.exe
$openssl = "D:\Projects\openssl-3.6.0\bin\bin\openssl.exe"
# Version anzeigen
& $openssl version
Erwartete Ausgabe:
OpenSSL 3.6.0 11 Feb 2025 (Library: OpenSSL 3.6.0 11 Feb 2025)
----
===== Detaillierte Build-Informationen =====
& $openssl version -a
Erwartete Ausgabe:
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"
----
===== Was bedeuten die Informationen? =====
| Feld | Bedeutung |
|------|-----------|
| ''platform: VC-WIN64A'' | Visual C++, Windows 64-bit |
| ''bn(64,64)'' | 64-bit Bignum (schnell) |
| ''compiler: cl'' | Microsoft C/C++ Compiler |
| ''OPENSSLDIR'' | Konfigurationsdateien (openssl.cnf) |
| ''MODULESDIR'' | Provider-Module (fips.dll, legacy.dll) |
----
===== Konfigurationspfade prüfen =====
# Prüfen ob openssl.cnf existiert
Test-Path "D:\Projects\openssl-3.6.0\bin\ssl\openssl.cnf"
# Prüfen ob Module existieren
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\lib\ossl-modules"
Erwartete Module:
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 # nur mit enable-fips
----
===== Provider auflisten =====
& $openssl list -providers
Erwartete Ausgabe (Standard-Build):
Providers:
default
name: OpenSSL Default Provider
version: 3.6.0
status: active
Mit FIPS:
Providers:
base
name: OpenSSL Base Provider
version: 3.6.0
status: active
fips
name: OpenSSL FIPS Provider
version: 3.6.0
status: active
----
===== DLL-Abhängigkeiten prüfen =====
Stellen Sie sicher, dass die DLLs vorhanden sind:
# Hauptverzeichnis
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll"
# Erwartete Ausgabe:
# libcrypto-3-x64.dll
# libssl-3-x64.dll
# DLL-Größen prüfen (sollten nicht leer sein!)
Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll" | Format-Table Name, Length
Typische Größen:
| DLL | Größe (ca.) |
|-----|-------------|
| libcrypto-3-x64.dll | 4-6 MB |
| libssl-3-x64.dll | 500-800 KB |
----
===== Probleme? =====
| Symptom | Mögliche Ursache | Lösung |
|---------|------------------|--------|
| Keine Ausgabe | PATH falsch | Vollständigen Pfad verwenden |
| Version < 3.6 | Falsches Binary | Richtiges Verzeichnis prüfen |
| ''OPENSSLDIR'' falsch | Build-Fehler | Neu konfigurieren mit ''--prefix'' |
→ [[.:.:troubleshooting|Troubleshooting]]
----
===== Weiter zu =====
* [[.:algorithmen-testen|Algorithmen testen]]
* [[.:fips-validieren|FIPS-Modus validieren]]
----
//Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional//