Skip to content

Add DNS-based Domain Control Validation support - #13

Closed
bhillkeyfactor wants to merge 1 commit into
mainfrom
dnspluginsupport
Closed

Add DNS-based Domain Control Validation support#13
bhillkeyfactor wants to merge 1 commit into
mainfrom
dnspluginsupport

Conversation

@bhillkeyfactor

Copy link
Copy Markdown
Collaborator

Adds DNS-based Domain Control Validation (DCV) support, ported from the pattern used by HydrantID's separate /domains API resource.

  • New Domain, CreateDomainValidationPayload, Validator models + interfaces, and ValidationMethod/DomainStatusEnum enums
  • HydrantIdClient: GetDomainListAsync, GetSubmitCreateDomainValidationAsync, GetSubmitCheckDomainValidationAsync
  • RequestManager: GetDomainsToValidate (CN + DNS SANs, deduped), GetCreateDomainValidationRequest
  • Enroll() now checks domain validation status before submitting a CSR (New and Re-Issue paths), returning EndEntityStatus.EXTERNALVALIDATION with DNS record instructions when one or more domains are still pending

Deliberately deferred: delete/update-org domain endpoints, GET /domains/validators (validator now comes from the matched policy's Details.Validator), and re-validation on plain renewals (renewals trust the prior validation).

Note: this branch was briefly and accidentally pushed directly to main due to a local branch-tracking mixup; that commit was reverted on main and the work moved to this branch for proper review.

This reverts commit e65fa8a.
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