So, I believe that openssl can not verify it because the
KeyValue is empty... Thus, the question is: why mscrypto
does not want to write public key info into the document?.
Do you have any errors on the output?
Can you try to use the following template (just key value
node w/o any content), pleas
>
>
> But still I can't sign ;o(
>
You need to define ID attribute if you want to use
"#xyz" notation. Search xmlsec FAQ for detailed
description.
Aleksey
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Well, in this particular case, the key will not have certificate.
You signature has a valid RSA public key that xmlsec uses for
validation. And this key has not certificate attached to it!
I guess, you want xmlsec not to use the key from the RSAKeyValue
and instead lookup the key in the KeyManage
I replace the URI how you told me.
But still I can't sign ;o(
D:\XMLSec\libxmlsec-1.2.8.win32\bin>xmlsec --sign --crypto openssl --output d:\x
mlsigner\out\crypto.xml d:\xmlsigner\in\new.xml
func=xmlSecXPathDataExecute:file=..\src\xpath.c:line=273:obj=unknown:subj=xmlXPt
rEval:error=5:libxml2 li
I sign my File by using an template.
I till now works fine with mscrypto. But when I try to verify the files with
openSSL.
I got an Error. After debugging I found out that the problems are some missing
tags.
Is there a way to get the certificate using the commandline tool?
-Original Message-
From: Jürgen Heiss
Sent: Freitag, 25. August 2006 08:48
To: 'Aleksey Sanin'
Cc: xmlsec@aleksey.com
Subject: RE: [xmlsec] Trouble by verification
Hi Aleksey,
Well with the commandline tool it works fine