-
Hi everybody, I am fiddling around with the non-guided way to init that online CA in order to inspect the resulting ca.json and defaults.json. Of course, depending on what flags one passes - some mandatory, some not - , the aforementioned jsons differ somewhat. So far, so expected. Because I want to establish the step toolchain as our internal CA, I need some confirmation as for when one would want to use the three flags mentioned in the title. Here's my take:
With all of this asked, I might have found a validation error in --address, which would construct a erroneous defaults.json! Possibly the ca.json too.
Sooo, this init goes through, resulting in this defaults.json:
If I have to guess, everything after the colon (which normally would be the port) is filtered, so if anybody were to put in a URI, things would go sideways... Thanks everybody! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi Ralph, Yeah, that's definitely a validation error.
Does this help? |
Beta Was this translation helpful? Give feedback.
Hi Ralph,
Yeah, that's definitely a validation error.
--address
is both the bind address and port number, or just the port number. So it could be something like0.0.0.0:443
(bind to all interfaces),127.0.0.1:443
(bind only to loopback), or:443
(all interfaces, port 443).--dns
ends up determining which DNS names are present on the internally-generated TLS leaf certificate for the CA. So, here you just need whatever DNS names your clients are going to use when accessing the CA.--with-ca-url
doesn't affect the CA configuration. It just puts whatever preferred URL you have for the CA intodefaults.json
, which is used bystep
to connect to your CA.Does this help?