The error clearly says that there is a problem with loading key. Which crypto library do you use? If it is not openssl then this error is expected because only openssl understands pem format.
BTW, it is better to send messages to xmlsec mailing list.
Aleksey
Andrei Kamtchatnikov wrote:
Aleksey,
Thanks for quick respond.
I built sign1.exe and ran it, but it could not load private pem key from "privkey.pem". (error message below):
sign1.exe sign1-tmpl.xml rsakey.pem func=xmlSecMSCryptoAppKeyLoad:file=..\src\mscrypto\app.c:line=175:obj=un
known:su
bj=unknown:error=17:invalid format:format=2;last error=0
(0x00000000);last error
msg=The operation completed successfully.
Error: failed to load private pem key from "privkey.pem"
Maybe LibXml2 wasn't compiled with zlib? (I downloaded this binary from Igor's ftp).
Thanks,
Regards, Andrei
_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
