Skip to content

set certificate type based on CSRs corda-role#14

Open
berndos wants to merge 1 commit intoroastario:masterfrom
berndos:issue-service-identity-certs
Open

set certificate type based on CSRs corda-role#14
berndos wants to merge 1 commit intoroastario:masterfrom
berndos:issue-service-identity-certs

Conversation

@berndos
Copy link

@berndos berndos commented Sep 7, 2021

With the current implementation it is not possible to obtain notary-certificates from the doorman as of Corda 4.8 (or earlier?): Corda now expects an net.corda.core.CordaOID.X509_EXTENSION_CORDA_ROLE extension with value net.corda.core.internal.CertRole.SERVICE_IDENTITY, but in the current implementation, the value is hardcoded to net.corda.core.internal.CertRole.NODE_CA. This PR attempts to fix this by setting the extension-value depending on the requested role in the CSR.

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.

1 participant

Comments