boulder/cmd/boulder-ca
Daniel McCarney 299e53b237 RA,CA: Refuse to start with MaxNames == 0. (#3634)
This commit updates the `boulder-ra` and `boulder-ca` commands to refuse
to start if their configured `MaxNames` is 0 (the default value). This
should always be set to a positive number.

This commit also updates `csr/csr.go` to always apply the max names
check since it will never be 0 after the change above.

Also refactor `FailOnError` to pull out a separate `Fail` function.

Related to https://github.com/letsencrypt/boulder/issues/3632
2018-04-10 10:53:23 -07:00
..
main.go RA,CA: Refuse to start with MaxNames == 0. (#3634) 2018-04-10 10:53:23 -07:00
main_test.go Move CAConfig out of cmd. (#3165) 2017-10-12 16:16:38 -07:00