How to OpenSSL decrypt smime.p7m
- by tntu
I have received an email that has no content, just a file called smime.p7m attached.
I was looking into the OpenSSL and it's smime module but I cannot figure out exactly how.
I must be doing something wrong.
I extracted the certificate chain form the p7m file.
# openssl pkcs7 -inform DER -in smime.p7m -out pkcs7.pem
# openssl pkcs7 -in pkcs7.pem…