generated from canonical/platform-engineering-charm-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Enhancement Proposal
Hi,
I've run into some (at least to me) unexpected behaviour with this charm that I think we can improve for a better overall experience.
It's been established that if a user is allowed to request certs for example.com, this implicitly grants access to request a wildcard cert for *.example.com as the challenge domain is the same for either (see Canonical internal chat link).
What this doesn't do is allow that user to submit requests for any subdomain-specific certs, e.g. test.example.com.
Could we please look into either:
- Leaning into this implicit access, authorising the user with access to
example.comto request a cert for any valid domain matching^.*\.example\.com$. - As we've established that granting access to
*.example.comalongsideexample.comcurrently does nothing, change the behaviour so that granting access to*.example.comis a method of explicitly allowing the user to request a specific cert for any subdomain ofexample.com. - Adding some other method of explicitly allowing the user to request a certificate for any subdomain of
example.com, such asjuju run httprequest-lego-provider/0 allow-domains --string-args username=example-user domains='example.com' subdomains='example.com'orallow-subdomains --string-args username=example-user parent-domains='example.com'.
Keen to hear your thoughts.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels