Files
nomad/.changelog/19892.txt
Luiz Aoqui ce710d49fd cli: fix tls ca create command with -domain (#19892)
The current implementation of the `nomad tls ca create` command
ovierrides the value of the `-domain` flag with `"nomad"` if no
additional customization is provided.

This results in a certificate for the wrong domain or an error if the
`-name-constraint` flag is also used.

THe logic for `IsCustom()` also seemed reversed. If all custom fields
are empty then the certificate is _not_ customized, so `IsCustom()`
should return false.
2024-02-07 16:40:51 -05:00

4 lines
137 B
Plaintext

```release-note:bug
cli: Fixed a bug where the `nomad tls ca create` command failed when the `-domain` was used without other values
```