How to decrypt SMIME encrypted outlook msg files in openssl using localstore certificates I’m trying to figure out how to script such scenario: