-
Is it possible to only to limit the validity of the domains to just a domain ? For example I want the intermediate certificate to be able to just sign certificate requests from *.Ihavenoideawhatiamdoing.internal |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey, @dices, I was actually doing something just like this the other day. The answer is "yes, but ...".
The command to generate the intermediate might look like:
Now you can generate valid leaf certificates for the domains *.example.com.
Unfortunately, we do not have a way to restrict this at the provisioner level - so before the certificate is created. Maybe that will be an option in the future. But in the mean time, X509 already has means to do this, and we can take advantage by using templates. Let me know if you have any further questions about the specific steps required to set this up. This short tutorial might be helpful - https://github.com/smallstep/certificates/blob/master/docs/questions.md#i-already-have-pki-in-place-can-i-use-this-with-my-own-root-certificate. |
Beta Was this translation helpful? Give feedback.
Hey, @dices, I was actually doing something just like this the other day. The answer is "yes, but ...".
The command to generate the intermediate might look like: