How to verify a .cms-file?

2022-02-09 Thread Keine Eile
Hi list members, I got a file 'document.pdf' and a 'document_pdf.cms. Using 'openssl pkcs7'. It seems to be DER encoded and I can extract multiple certs, a CA, an intermediate and a signer's certificate. I have tried some variants of 'openssl cms -verify', but most end with a ~~~ Error reading

Re: Need some help signing a certificate request

2021-08-21 Thread Keine Eile
Am 21.08.21 um 19:53 schrieb rgor...@centerprism.com: I am fine on the command line. I just need a little help with openssl. Do you have any ideas on setting the hostname with openssl.cnf? If it would be bash on Linux, scripting this not a challenge. About Windows: No idea, sorry.

Re: Need some help signing a certificate request

2021-08-21 Thread Keine Eile
Hi rgor...@centerprism.com, the substitution for your CA did not work: 'Subject: CN = $(hostname), O = server'. My recommendation, if you are not familiar with openssl and the command line would be, use XCA, there is a Windows version available. -> https://hohnstaedt.de/xca/ Am 21.08.21 um 19

Deciphering a .p7f file

2021-08-11 Thread Keine Eile
Hi list members, I have a .p7f in hands, which seems to be a DER encoded PKCS7 structure in some way, I can use 'openssl pkcs' to transform it in a PEM form, I also can pull a bunch of certificates out of it. But I know, there is some encrypted pay load in this file, which I can not decipher.