ca init --dns=csv
validated as single DNS name, not a CSV of them
#537
Labels
ca init --dns=csv
validated as single DNS name, not a CSV of them
#537
Subject of the issue
The value passed to the
--dns
flag ofstep ca init
is validated incorrectly.The issue seems to be here. The
ui.DNS()
validator tests for a single DNS name, not a CSV of them.Your environment
Steps to reproduce
Expected behaviour
The third command should continue without error and lead to the expected
ca.json:dnsNames
:Actual behaviour
The validation error
localhost,127.0.0.1,[::1] is not a valid DNS name
is printed to stderr.The text was updated successfully, but these errors were encountered: