[xmlsec] xmlsec1 sign problem with openssl 1.0.2j
Alexopoulou, Georgia
georgia.alexopoulou at unify.com
Tue Nov 8 04:57:43 PST 2016
Hello to all,
I have cross compiled libxmlsec1 for powerpc arch with openssl 1.0.2j in order to use it in a project.
I just run the examples in the example folder and I encountered the following errors:
../xmlsec1 sign --crypto openssl --privkey rsakey.pem --output signtest.xml sign1-tmpl.xml
func=xmlSecOpenSSLEvpSignatureExecute:file=evp_signatures.c:line=522:obj=rsa-sha1:subj=EVP_SignFinal:error=4:crypto library function failed:
func=xmlSecTransformDefaultPushBin:file=transforms.c:line=2235:obj=rsa-sha1:subj=xmlSecTransformExecute:error=1:xmlsec library function failed:final=1
func=xmlSecTransformIOBufferClose:file=transforms.c:line=2919:obj=rsa-sha1:subj=xmlSecTransformPushBin:error=1:xmlsec library function failed:
func=xmlSecTransformC14NPushXml:file=c14n.c:line=279:obj=c14n:subj=xmlOutputBufferClose:error=5:libxml2 library function failed:
func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1264:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec library function failed:transform=c14n
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=647:obj=unknown:subj=xmlSecTransformCtxXmlExecute: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 "sign1-tmpl.xml"
Info:
XMLSec version number: 1.2.23
The platform/compiler you are using: linux kernel 3.12.19-rt30 powerpc
The exact xmlsec utility command line: see above. Command at stated in example README
All the files mentioned in this command line: see above. I used the files in example folder
The xmlsec utility output: See above
Kind regards,
Georgia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20161108/41e3eda7/attachment.html>
More information about the xmlsec
mailing list