Openssl : :error:0308010C:

De www.yakakliker.org
Révision datée du 26 mars 2025 à 12:13 par Administrateur (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

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

compteur web gratuit sans pub