Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix openssl ca certificate releated issues #98

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

simo5
Copy link
Member

@simo5 simo5 commented Nov 10, 2022

This is needed in some cases where openssl needs to check that a public key in a cert on file matches with the private key provided in a pkcs11 URI, like int he openssl ca command.

Depends on this PR: openssl/openssl#19648

Manually tested wth the PR above on OpenSSL Master tree

Fixes #94
Fixes #99

This is needed in some cases where openssl needs to check that a public
key in a cert on file matches with the private key provided in a pkcs11
URI, like int he openssl ca command.

Depends on this PR: openssl/openssl#19648

Signed-off-by: Simo Sorce <[email protected]>
@holger-dengler
Copy link
Collaborator

Good catch. I hope, openssl will pick your changes soon...

@simo5 simo5 mentioned this pull request Nov 11, 2022
OpenSSL has more aliases for digest names than it make sense.
Instead of chasing down all the aliases and cases, turn the code to use
EVP_MD facilities to deal with names and sizes for us instead.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 changed the title Allow to export a public key from a private key Fix openssl ca certificate releated issues Nov 11, 2022
@simo5 simo5 merged commit ab2f1c5 into latchset:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

openssl ocsp commad fails openssl ca commad with yubikey tokens fails
2 participants