I am getting emails with smime.p7s attachments. when I look at my mail on my Linux box, I can see base64 encoded block in mail body. I can extract that block and open it on Windows using certmgr and everything looks ok.
I need to verify this certificate that I extracted to a file for
- CA path
- CRLs
- expiration
I want to perform all the task on linux using a script. How can I use openssl or some other command to do this?