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

Domain or IP #17

Open
birgelee opened this issue Sep 17, 2024 · 4 comments
Open

Domain or IP #17

birgelee opened this issue Sep 17, 2024 · 4 comments

Comments

@birgelee
Copy link
Member

* `domain` (required, string): The domain to check the CAA records for.

The draft currently uses the label domain to refer to the domain being validated. ACME and the BRs also support certs for IP addresses. Open MPIC currently refers to this as domain_or_ip_target.

Do we want to change the language to allow this identifier to be an IP address or a domain? How should IP address targets be handled in the future?

@bwesterb
Copy link
Collaborator

bwesterb commented Sep 17, 2024

How is a CAA check performed for an IP address?

@gcimaszewski
Copy link
Collaborator

@bwesterb In the BRs, it looks like CAA checking only applies to fully-qualified domain names, and thus there is no CAA check for IPs.
The API would also need some more changes to support IP validation, like a PTR lookup for DNS-based validation.

@SulemanAhmadd
Copy link
Collaborator

SulemanAhmadd commented Sep 17, 2024

The BR document states: As part of the Certificate issuance process, the CA MUST retrieve and process CAA records in accordance with RFC 8659 for each **dNSName** in the subjectAltName extension

So it seems validation of only domain name entries on the SAN is required when validated CAA records. Not sure if CAA records for IP addresses are a thing. There is an expired draft in LAMPS working group at IETF for this line of work but it seems to be abandoned.

@SulemanAhmadd
Copy link
Collaborator

SulemanAhmadd commented Sep 17, 2024

Ah, I was on a stale page so @gcimaszewski comment just got visible. With that context, I believe this issue is about supporting IP address control validation on the API, IIUC. The first comment on this issue references the CAA check description, hence the confusion.

The HTTP validation method in the draft can be generalized for both domain and IP address in that case.

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

No branches or pull requests

4 participants