enricorossi.org

Enrico Rossi


Articles tagged with sign

View p7m file with openssl

Tags: encrypt, howto, openssl, p7m, sign, smime

How to view the content of a .p7m file

Normally a .p7m file is what in openssl terms is a DER file 1 (note: it work also with cms command).

openssl smime -verify -in smime.p7m -inform der -noverify -signer cert.pem -out textdata

where:

  • -verify to tell openssl that …
Read more...