Hi everybody,<br><br>I&#39;m trying to sign a XML file with a X509 certificate but xmlsec1 fails:<br><br># xmlsec1 --sign sign_template.xml --pkcs12 cert.pfx<br>func=xmlSecKeysMngrGetKey:file=keys.c:line=1364:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed:<br>
func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key is not found:<br>func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function failed:<br>
func=xmlSecDSigCtxSign:file=xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed:<br>Error: signature failed<br>Error: failed to sign file &quot;sign_template.xml&quot;<br>
<br>I&#39;m using Debian 4.0 with the following xmlsec packages:<br><br>xmlsec1/etch uptodate 1.2.9-5<br>libxmlsec1-openssl/etch uptodate 1.2.9-5<br>libxmlsec1-gnutls/etch uptodate 1.2.9-5<br>libxmlsec1-nss/etch uptodate 1.2.9-5<br>
libxmlsec1/etch uptodate 1.2.9-5<br>libxmlsec1-dev/etch uptodate 1.2.9-5<br><br>So, can somebody help me with this error?<br><br>Thanks in advance,<br><br>-- <br>Jorge Augusto Senger<br>jasenger (at) <a href="http://gmail.com">gmail.com</a><br>