Skip to content
Discussion options

You must be logged in to vote

Not really a bug...

These are the errors from OpenSSL:

4037D19FF87B0000:error:020000B3:rsa routines:rsa_ossl_private_encrypt:missing private key:../crypto/rsa/rsa_ossl.c:335:
4037D19FF87B0000:error:1C880004:Provider routines:rsa_sign:RSA lib:../providers/implementations/signature/rsa_sig.c:588:

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…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hrantzsch
Comment options

Answer selected by lsh123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants