« Openssl : :error:0308010C: » : différence entre les versions
De www.yakakliker.org
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 11 : | Ligne 11 : | ||
<code>openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes</code> | <code>openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes</code> | ||
<code>openssl pkcs12 -in certificat.pfx -out certificat.pem -nodes</code> | |||
== Solution == | == Solution == | ||
Ligne 19 : | Ligne 21 : | ||
<code>openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes -legacy</code> | <code>openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes -legacy</code> | ||
<code>openssl pkcs12 -in certificat.pfx -out certificat.pem -nodes -legacy</code> | |||
== Liens == | == Liens == |
Dernière version du 26 mars 2025 à 12:13
Message d'erreur
Error outputting keys and certificates
80BBB5DB577F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:386:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
- Ce message apparaît lors d'une tentative d'extraction de certificats depuis un .pfx vers un .cert ou .key avec ces commandes
openssl pkcs12 -in certifcat.pfx -clcerts -nokeys -out certificat.crt
openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes
openssl pkcs12 -in certificat.pfx -out certificat.pem -nodes
Solution
- Rajouter l'option -legacy à la fin de la commande
openssl pkcs12 -in certifcat.pfx -clcerts -nokeys -out certificat.crt -legacy
openssl pkcs12 -in certificat.pfx -nocerts -out certificat.key -nodes -legacy
openssl pkcs12 -in certificat.pfx -out certificat.pem -nodes -legacy
Liens