You have a wrong C14N identifier (https://www.w3.org/TR/xmldsig-core/#sec-c14nAlg): remove the "#" at the end.
Aleksey On 1/5/17 3:45 AM, [email protected] wrote: > Dear Sirs, > > I have tried to sign a XML file, but the process ended with these errors: > > func=xmlSecTransformNodeRead:file=transforms.c:line=1571:obj=unknown:subj=xmlSecTransformIdListFindByHref:error=1:xmlsec > library function > failed:href=http://www.w3.org/TR/2001/REC-xml‐c14n‐20010315# > func=xmlSecTransformCtxNodeRead:file=transforms.c:line=704:obj=unknown:subj=xmlSecTransformNodeRead:error=1:xmlsec > library function failed:name=CanonicalizationMethod > func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=722:obj=unknown:subj=xmlSecTransformCtxNodeRead:error=1:xmlsec > library function failed:node=CanonicalizationMethod > func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=568:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec > library function failed: > func=xmlSecDSigCtxSign:file=xmldsig.c:line=323:obj=unknown:subj=xmlSecDSigCtxSignatureProcessNode:error=1:xmlsec > library function failed: > Error: signature failed > Error: failed to sign file "completetosign.xml" > > How can I solve this problem? > > Thanking you in advance, > > Simone Rossi > > > _______________________________________________ > xmlsec mailing list > [email protected] > http://www.aleksey.com/mailman/listinfo/xmlsec > _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
