Skip to content

Need some clarification around --dns, --address and --with-ca-url flags #512

Answered by tashian
bfqrst asked this question in Q&A
Discussion options

You must be logged in to vote

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 like 0.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 into defaults.json, which is used by step to connect to your CA.

Does this help?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@bfqrst
Comment options

@tashian
Comment options

tashian Mar 24, 2021
Collaborator

@mmalone
Comment options

@bfqrst
Comment options

@mmalone
Comment options

Answer selected by tashian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants