Sign with RSA/SHA1 and get PKCS#7/CMS

2007-06-26 Thread estante23-openssl
Hello, I wasn't able to get a PKCS #7 file using the dgst and rsautl command. So now I'm trying with the smime command. However, I´m doing something wrong since I get Error reading S/MIME message because the file I want to sign is not in SMIME format (I suppose). Is there any way use the smime

Sign with RSA/SHA1 and get PKCS#7/CMS

2007-06-25 Thread estante23-openssl
Hello, I need to sign a file using a RSA Key and get a PKCS#7/CMS file. I´ve tried the following command but Openssl complains that the data is too large for the key size. openssl rsautl -in 1.xml -out 1.xml.cms.base64 -inkey britanico1.pem -sign I´ve read the documentation of rsautl and its