-
Hi, I'm seeing an error where The issue occurs with To reproduce, the following is as minimal as I managed to make it. I'll attach the xml Signing with
Any insights on what's going on are greatly appreciated.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I moved this into #939 |
Beta Was this translation helpful? Give feedback.
-
Not really a bug... These are the errors from OpenSSL:
This indicates that XMLSec selected public key from the certificate instead of private key specified in the command line. The outcome here is a combination of multiple things: 1/ OpenSSL doesn't have a good way to check if a given key is public or private, hence all keys are assumed to be private (see issue #588 ) 2/ The Recommendation: Use 1/ Add
2/ Add same key name to the command line:
|
Beta Was this translation helpful? Give feedback.
-
Also thanks A LOT for a simple and detailed repro test case, made my life easy :) |
Beta Was this translation helpful? Give feedback.
Not really a bug...
These are the errors from OpenSSL:
This indicates that XMLSec selected public key from the certificate instead of private key specified in the command line. The outcome here is a combination of multiple things:
1/ OpenSSL doesn't have a good way to check if a given key is public or private, hence all keys are assumed to be private (see issue #588 )
2/ The
--lax-key-search
parameter should not be used, it's a source of many issues l…