apps: make use of OSSL_STORE for generalized cert and CRLs loading#12647
Conversation
aaa493a to
9058846
Compare
|
I think this finalizes a lot of what I did in #7390. When this is merged, I'll revisit that one to see what remains. |
Ah, I was not aware of that PR! At times I think it would be good to have a mechanism that points out overlaps between existing PRs, |
No matter, I'm actually glad to see someone else doing this, that indicates the desire for this change. |
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
|
This is ready to be merged |
Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#12647)
allows loading password-protected PKCS#12 files in x509, ca, s_client, s_server Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#12647)
d757fc1 to
2a33470
Compare
Done - thanks @levitte |
gerrit code review will link to changes that conflict or are "related to" the change in question. (I am not 100% sure of the details of what determines those relationships, and it might be configurable, but I think that the conflicts are actual 'git merge' failures and the "related"ness is parent/child relationships. |
This sounds interesting! |
|
Gerrit is in some sense a competitor to github (it's a java application maintained by google, IIUC). I don't know of any particular efforts by github to include similar features. |
Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#12647)
allows loading password-protected PKCS#12 files in x509, ca, s_client, s_server Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#12647)
This generalizes the
load_certs(),load_cert(), andload_crls()functions used by the CLI appsca,cmp,cms,ocsp,pkcs12,s_client,s_server,smime,verify, andx509taking advantage of the OSSL_STORE mechanism.This allows loading not only in PEM format but also in DER and PKCS#12 format and loading also from URIs.
It also enables using passwords for certificate input files, using a new
-passcertsoption ofpkcs12and, as far as it makes sense, any existing password input options for other apps.
This supersedes the core of my old PR #4930.
This is also strongly related to #12643.
Checklist