smime verify problem

2004-06-10 Thread gilles . lami
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

signing a file with openssl

2004-04-23 Thread gilles . lami
Hi, I am trying to sign a file with openssl : openssl rsautl -raw -sign -in coucou1.pdf -inkey gilles.pem -out sig Enter pass phrase for gilles.pem: RSA operation error 30452:error:0406B06E:rsa routines:RSA_padding_add_none:data too large for key size:rsa_none.c:70: I did not find anything clear