[xmlsec] Help with xmlsec1 sign-tmpl command

Govind Krishnamurthi govs23 at hotmail.com
Tue Apr 13 09:24:04 PDT 2004


Hi Aleksey,
I am trying to sign a document with a dynamically created template.
Here is what I did.
xmlsec1 sign-tmpl --privkey-pem mykey.pem mysample.xml
The error I get is as follows:
Is there something I am doing that is incorrect?

Thanks in advance,
Govind.

func=xmlSecKeysMngrGetKey:file=keys.c:line=989:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec 
library function failed:
func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key 
is not found:
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec 
library function failed:
func=xmlSecDSigCtxSign:file=xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec 
library function failed:
Error: signature failed
Error: failed to create and sign template

_________________________________________________________________
Persistent heartburn? Check out Digestive Health & Wellness for information 
and advice. http://gerd.msn.com/default.asp




More information about the xmlsec mailing list