[xmlsec] xmlse usage

Wayne Cheng chengw168 at yahoo.com
Sun Dec 22 15:47:51 PST 2002


Hello Aleksey,

I tired to play with xmlsec. But I am not why the key cannot be found.
server.key is the private key generated with openssl.

bash-2.05$ xmlsec sign --privkey[:server] ./server.key xml.txt
xmlSecKeysMngrGetKey (keys.c:451): error 17: key not found :
xmlSecSignedInfoRead (xmldsig.c:1385): error 17: key not found :
xmlSecSignatureRead (xmldsig.c:1124): error 2: xmlsec operation failed :
xmlSecS
ignedInfoRead - -1
xmlSecDSigGenerate (xmldsig.c:792): error 2: xmlsec operation failed :
xmlSecSig
natureRead - -1
Error: xmlSecDSigGenerate() failed
Error: operation failed
bash-2.05$

Thanks,

Wayne

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the xmlsec mailing list