.nh .TH "Caddy" "8" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP caddy-untrust - Untrusts a locally-trusted CA certificate .SH SYNOPSIS .PP \fBcaddy untrust [flags]\fP .SH DESCRIPTION .PP Untrusts a root certificate from the local trust store(s). .PP This command uninstalls trust; it does not necessarily delete the root certificate from trust stores entirely. Thus, repeatedly trusting and untrusting new certificates can fill up trust databases. .PP This command does not delete or modify certificate files from Caddy's configured storage. .PP This command can be used in one of two ways. Either by specifying which certificate to untrust by a direct path to the certificate file with the --cert flag, or by fetching the root certificate for the CA from the admin API (default behaviour). .PP If the admin API is used, then the CA defaults to 'local'. You may specify the ID of another CA with the --ca flag. By default, this will attempt to connect to the Caddy's admin API running at \&'localhost:2019' to fetch the root certificate. You may explicitly specify the --address, or use the --config flag to load the admin address from your config, if not using the default. .SH OPTIONS .PP \fB--adapter\fP="" Name of config adapter to apply (if --config is used) .PP \fB--address\fP="" Address of the administration API listener (if --config is not used) .PP \fB--ca\fP="" The ID of the CA to untrust (defaults to 'local') .PP \fB--cert\fP="" The path to the CA certificate to untrust .PP \fB--config\fP="" Configuration file (if --address is not used) .PP \fB-h\fP, \fB--help\fP[=false] help for untrust .SH SEE ALSO .PP \fBcaddy(8)\fP .SH HISTORY .PP 22-Apr-2024 Auto generated by spf13/cobra