-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Labels
bugneeds triageWaiting for discussion / prioritization by teamWaiting for discussion / prioritization by team
Description
Steps to Reproduce
We use in our internal LAN our own internal doman (ourdomain.internal
).
Because it is annoying to always type the FQDN we use the dns serach suffix feature.
This allows us to connect to our servers via the FQDN and the shorter hostname:
curl "https://srv01.ourdomain.internal/index.html"
curl "https://srv01/index.html"
I tried to setup a policy on our step ca server so that only certificates can be issued with our FQDN (*.ourdomain.internal
) or the hostname (*
):
...
"policy": {
"x509": {
"allow": {
"dns": ["*", "*.ourdomain.internal"]
},
"allowWildcardNames": true
}
}
...
Your Environment
- OS -
step-ca
Version - 0.28.3-1step-cli
Version - 0.28.6-1
Expected Behavior
The policy should allow this.
Actual Behavior
The config currently leads to this error.
cannot parse permitted domain constraint "*": domain constraint "*" can not be converted to ASCII: idna: disallowed rune U+002A
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Metadata
Metadata
Assignees
Labels
bugneeds triageWaiting for discussion / prioritization by teamWaiting for discussion / prioritization by team