Inhaltsverzeichnis
4.1 Verifica Versione
Questa pagina mostra come verificare l'installazione di OpenSSL.
Verifica Base
# Percorso di openssl.exe $openssl = "D:\Projects\openssl-3.6.0\bin\bin\openssl.exe" # Mostra versione & $openssl version
Output atteso:
OpenSSL 3.6.0 11 Feb 2025 (Library: OpenSSL 3.6.0 11 Feb 2025)
Informazioni Build Dettagliate
& $openssl version -a
Output atteso:
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"
Cosa Significano le Informazioni?
| Campo | Significato |
| ——- | ————- |
platform: VC-WIN64A | Visual C++, Windows 64-bit |
bn(64,64) | 64-bit Bignum (veloce) |
compiler: cl | Compilatore Microsoft C/C++ |
OPENSSLDIR | File di configurazione (openssl.cnf) |
MODULESDIR | Moduli Provider (fips.dll, legacy.dll) |
Verifica Percorsi di Configurazione
# Verificare se openssl.cnf esiste Test-Path "D:\Projects\openssl-3.6.0\bin\ssl\openssl.cnf" # Verificare se i moduli esistono Get-ChildItem "D:\Projects\openssl-3.6.0\bin\lib\ossl-modules"
Moduli attesi:
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 # solo con enable-fips
Elencare i Provider
& $openssl list -providers
Output atteso (build standard):
Providers:
default
name: OpenSSL Default Provider
version: 3.6.0
status: active
Con FIPS:
Providers:
base
name: OpenSSL Base Provider
version: 3.6.0
status: active
fips
name: OpenSSL FIPS Provider
version: 3.6.0
status: active
Verifica Dipendenze DLL
Assicuratevi che le DLL siano presenti:
# Directory principale Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll" # Output atteso: # libcrypto-3-x64.dll # libssl-3-x64.dll
# Verificare dimensioni DLL (non devono essere vuote!) Get-ChildItem "D:\Projects\openssl-3.6.0\bin\bin\*.dll" | Format-Table Name, Length
Dimensioni tipiche:
| DLL | Dimensione (ca.) |
| —– | —————— |
| libcrypto-3-x64.dll | 4-6 MB |
| libssl-3-x64.dll | 500-800 KB |
Problemi?
| Sintomo | Possibile Causa | Soluzione |
| ——— | —————– | ———– |
| Nessun output | PATH errato | Usare percorso completo |
| Versione < 3.6 | Binary errato | Verificare directory corretta |
OPENSSLDIR errato | Errore build | Riconfigurare con –prefix |
Continua con
Wolfgang van der Stille @ EMSR DATA d.o.o. - Post-Quantum Cryptography Professional
Zuletzt geändert: il 29/01/2026 alle 21:37