[xmlsec] Help with xmlsec1 sign-tmpl command

Aleksey Sanin aleksey at aleksey.com
Tue Apr 13 10:03:49 PDT 2004


The "sign-tmpl" is not intented for any real usage. It is a part of the
internal test suite. You probably want to look here:
	http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-dynamimc-template.html

Aleksey

Govind Krishnamurthi wrote:

> 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
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list