-
|
Is it possible to create internal PKI with root CA and sub CA based on smallstep? I would like to create: Root CA (smallstep) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yes!
Then you'll need to run 3 instances of In the future we plan allow configuration of the subCA per provisioner. Which would allow users to run multiple subCAs per instance. But this hasn't been spec'ed or roadmapped, so for the time being, multiple instances are your best bet. |
Beta Was this translation helpful? Give feedback.
Yes!
step-caalready always uses a Root + SubCA. When you runstep ca initwithout any flagsstep-cawill generate a root and intermediate certificate (with accompanying) private keys using good defaults for cryptographic primitives. The intermediate then becomes a SubCA which signs all new certificate requests.step-cacan only use a single SubCA to sign certificate requests. Therefore, my recommendation would be to run multiple instances ofstep-ca. One per SubCA. You can generate configurations and SubCAs by runningSTEPPATH=/tmp/[vpn | ssl | postgres | etc. ] step ca init --root <file> --key <file>. Make sure to useSTEPPATH=...when running that command otherwise the command will att…