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

Retrieving the TLS cert to be bound to the token #183

Closed
SachiniSiriwardene opened this issue Apr 8, 2020 · 5 comments
Closed

Retrieving the TLS cert to be bound to the token #183

SachiniSiriwardene opened this issue Apr 8, 2020 · 5 comments
Labels
Security Change or question related to the information security profile

Comments

@SachiniSiriwardene
Copy link

Request For Clarification

This query was initially raised in https://github.com/cdr-register/register/issues/56.
Raising it here again since an adequate response was not recieved.
How is the value for the KID computed in the JWKS? Is there any standard that should be followed?
Need to clarify this since the kid value is needed to obtain the TLS certificate in order to bind it to the token. (Holder of Key)
Also, is there a recommended format for the published jwks endpoint of the DR?

@jogu
Copy link

jogu commented Apr 8, 2020

Are you talking about access tokens obtained from the token endpoint? As per https://tools.ietf.org/html/rfc8705 the token should be bound to the certificate presented at the token endpoint. All the relevant vendors already implement this as it's part of a FAPI-RW, it's not unique to CDR.

@CDR-API-Stream
Copy link
Collaborator

Hi @SachiniSiriwardene in addition to @jogu comments, can you please clarify the issue you're trying to resolve with the question "is there a recommended format for the published jwks endpoint of the DR?"

@SachiniSiriwardene
Copy link
Author

I was under the impression that the tls cert will have to be obtained through the respective jwks endpoint of the ADR. Hence the question regarding the format of the jwks. @jogu thanks for the advice. I assume that the TLS cert then can be obtained from the request itself. I was in doubt about this since the method of authentication to the token endpoint in CDR is mentioned as pvt_key jwt.
@CDR-API-Stream In any case, since the jwks endpoints are expected to be hosted by the respective ADRs, is there a particular format for the json?

@CDR-API-Stream
Copy link
Collaborator

Hi @SachiniSiriwardene the relevant normative standard is RFC 7517 - JSON Web Key (JWK).

There are further details in the Dynamic Client Registration section of the CDR Register.

@CDR-API-Stream CDR-API-Stream added this to Full Backlog in Data Standards Maintenance via automation Apr 21, 2020
@CDR-API-Stream CDR-API-Stream added the Security Change or question related to the information security profile label Apr 21, 2020
@CDR-API-Stream
Copy link
Collaborator

This issue has been closed as per the Data Standards Maintenance process. No further questions or comments have been received since an answer was provided.

Data Standards Maintenance automation moved this from Full Backlog to Done May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security Change or question related to the information security profile
Projects
Archived in project
Development

No branches or pull requests

3 participants