CLI reference/Server and administration/admin
clavis admin tls-info
Show the server's HTTPS certificate and its fingerprint
sh
clavis admin tls-info [flags]Show the certificate the server presents: TLS mode, names, issuer, expiry, and the SHA-256 fingerprints of the certificate and of its public key. Share the fingerprint with your team so they can check it when clavis login asks them to trust a self-signed server.
With CLAVIS_ACME_DNS, it also says whether the Let's Encrypt certificate has been issued yet, or whether the temporary self-signed one is still in use.
Examples
Docker
sh
docker exec clavis clavis admin tls-infoMachine-readable
sh
clavis admin tls-info --jsonFlags
-c, --config string- path to clavis.yaml
Global flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command