Your company here ā€” click to reach over 10,000 unique daily visitors

caddy-trust - Man Page

Installs a CA certificate into local trust stores


caddy trust [--ca ] [--address ] [--config Ā [--adapter ]] [flags]


Adds a root certificate into the local trust stores.

Caddy will attempt to install its root certificates into the local trust stores automatically when they are first generated, but it might fail if Caddy doesn't have the appropriate permissions to write to the trust store. This command is necessary to pre-install the certificates before using them, if the server process runs as an unprivileged user (such as via systemd).

By default, this command installs the root certificate for Caddy's default CA (i.e. 'local'). You may specify the ID of another CA with the --ca flag.

This command will attempt to connect to Caddy's admin API running at explicitly specify the --address, or use the --config flag to load the admin address from your config, if not using the default.


-a, --adapter="" Name of config adapter to apply (if --config is used)

--address="" Address of the administration API listener (if --config is not used)

--ca="" The ID of the CA to trust (defaults to 'local')

-c, --config="" Configuration file (if --address is not used)

-h, --help[=false] help for trust

See Also



5-Jul-2024 Auto generated by spf13/cobra

Referenced By


Jul 2024 Auto generated by spf13/cobra