WCR wrote:
Hi All
I need to sign a text using RSA-SHA1. (
http://www.w3.org/2000/09/xmldsig#rsa-sha1
<http://www.w3.org/2000/09/xmldsig#rsa-sha1> as per XML-Signature
specification http://www.w3.org/TR/xmldsig-core/)
I'm a newbie and want to sign a RSA-SHA1 from the command line?
I've tried:
openssl dgst -sha1 -sign 12677.pem -out mydigest.sha 12677.sig
But the result is strange. When used in an xml message there are errors
saying invalid characters. See attachments.
well I guess you know that the result is binary and needs to be base64
before you can include it in a xml document.
Cheers,
Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]