Overview of the Issue
consul validate returns valid if typo in path to TLS cert file location but consul will fail to start when it can't find the cert file
Reproduction Steps
Steps to reproduce this issue, eg:
- Create a config file with the TLS stanza and the standard TLS cert paths to the .pem files.
- Insert a typo into one of the file paths
- Run
consul validate -> It will return valid (assuming no other problems in the config file!)
- Attempt to start consul -> It will fail and with no useful error message at that!
Operating system and Environment details
consul 2.0.3+ent on RHEL 9.7 x86_64 VM on nutanix hypervisor
Overview of the Issue
consul validatereturns valid if typo in path to TLS cert file location but consul will fail to start when it can't find the cert fileReproduction Steps
Steps to reproduce this issue, eg:
consul validate-> It will return valid (assuming no other problems in the config file!)Operating system and Environment details
consul 2.0.3+ent on RHEL 9.7 x86_64 VM on nutanix hypervisor