Sign with RSA/SHA1 and get PKCS#7/CMS
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 command to sign any type of file? The command I´m using is: openssl smime -sign -pk7out -in 1.xml -outform DER -signer britanico1.cer -inkey britanico1.pem -out 1.xml.cms Thanks in advance, Antonio Robirosa. __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Sign with RSA/SHA1 and get PKCS#7/CMS
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 tells its expects a hash. On the other hand, the pkcs7 can't be used for signing. Is there any way I can get the PKCS #7/CMS file with the signature? Best regards, Antonio Robirosa. __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]