Openssl : :error:0308010C:

De www.yakakliker.org

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