bxp doctor¶
Check the CA's setup and say what is wrong.
Usage¶
Check the CA on this machine: the configuration, the files and their
permissions, the keys and their passphrase, expiry dates, the database,
whether the server answers, and the identity provider or directory.
It changes nothing and never asks for a passphrase.
With --report it also writes a file to attach to a bug report: the
checks, the configuration file, and what the database holds, in counts,
with the ACME proofs that failed recently. It holds no keys, passphrases,
tokens or secrets, and no names of people; it does hold host names,
addresses and paths. Review it before you share it.
Exit status 1 if a check failed, so it can run from monitoring.
Usage:
bxp doctor [flags]
Examples:
bxp doctor --config /etc/bastionxp-ca/bastionxp-ca.yaml
bxp doctor --config /etc/bastionxp-ca/bastionxp-ca.yaml --report
Flags:
-h, --help help for doctor
--report string[="<auto>"] also write a support report, to attach to a bug report; --report alone names it bastionxp-ca-report-<time>.txt
Global Flags:
--config string path to the configuration file (default "bastionxp-ca.yaml")