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

Reply via email to