I've set up an offline CA and want to specify the certificate's DN with values that are supplied on the command line.
Now the values I give to the "step ca" command with the --set option are not available in the template / generated certificate, they show as "<no value>". I'm referring to the documentation at https://smallstep.com/docs/step-ca/templates .
Your environment
OS - Linux (Ubuntu 20.04)
Step Version - 0.18.0
Steps to reproduce
Set up a simple CA as per the docs. Then configure a JWK provisioner that has a template configured:
Mine is like this:
Subject of the issue
I've set up an offline CA and want to specify the certificate's DN with values that are supplied on the command line. Now the values I give to the "step ca" command with the --set option are not available in the template / generated certificate, they show as "<no value>". I'm referring to the documentation at https://smallstep.com/docs/step-ca/templates .
Your environment
Steps to reproduce
Set up a simple CA as per the docs. Then configure a JWK provisioner that has a template configured: Mine is like this:
The file "/home/stepca/web.tpl" looks like this:
I then execute this command line:
The resulting certificate does not have the organization field set:
Expected behaviour
I would expect the generated certificate to have a Subject like this:
Actual behaviour
The value that I pass in via the command line's "--set" parameter is not available in the template, apparently.