Skip to content

Authorizing user clients based on CA rather than end cert #2335

Answered by achamayou
prakashngit asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @prakashngit,

Although there is no built-in authentication built-in policy that does this now, it ought to be relatively straightforward to implement as a custom policy. The process is documented here: https://microsoft.github.io/CCF/main/build_apps/logging_cpp.html#authentication

authenticate() has access to a read-only Tx and to the request context, so it should be a matter of looking up the right institution cert in the KV (by fingerprint perhaps?), and validating the caller cert chain.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by prakashngit
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
Ideas
Labels
None yet
2 participants