XMLSEC Sign 45:key is not found error - pem file exists and validated with openssl #779
-
Try to sign an xml with sha256-rsa-MGF1 / sha256 with rsa private key and corresponding certificate. Whats the root cause for the error? using actual version all files stored in same folder. The xmlsec.exe, all dlls, pem and xml
xml trying to sign
try to sign xml
test private key stored in pem file with openssl
check certificate stored in pem file with openssl
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please check section 3.5 from the faq: https://www.aleksey.com/xmlsec/faq.html (tldr; you probably should add |
Beta Was this translation helpful? Give feedback.
Please check section 3.5 from the faq:
https://www.aleksey.com/xmlsec/faq.html
(tldr; you probably should add
<ds:KeyName>my-key</ds:KeyName>
node to<ds:KeyInfo/>
node and also specify the same key name in the command line... --privkey-pem:my-key key20240405.pem,cert20240405.pem ...
)