Hello,
I have tried many TSA services with the same (error) result.
--
openssl ts -query -data file2.txt >file2.tsq
openssl ts -query -data file2.txt -cert >file2-cert.tsq
/usr/lib/ssl/misc/tsget -d -h http://timestamp.comodoca.com/rfc3161 -o
file2.tsr file2.tsq
/u
Hello,
I signed a file using the following command:
openssl smime -sign -binary -signer one.cer -inkey one.key -in mymsg.txt
-out mymsg.msg
Then I tried to verify the signature with this command:
openssl smime -verify -in mymsg.msg -out mymsg.verified -CAfile ca.pem
-certfile one.cer
And I get
Hi,
What I do is to generate a certificate and verify it,
below is some source code:
**--**
/** generate a certificate: X509 *cert **/
.
/** sign cert using CACert's private key **/
if (X509_sign(cert, ca_priv_key, dige