Caddy(8)

πŸ’– caddy-trust(8) β€” the manual page, but make it cute πŸ’–

bestie, you've stumbled into the Caddy manual β€” specifically the part about caddy-trust. it's giving trust issues but like, the certificate kind. let's get into it πŸŽ€


✨ NAME ✨

caddy-trust β€” installs a CA certificate into local trust stores πŸ¦‹


✨ SYNOPSIS ✨

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

periodt. that's the whole shape of it πŸ’…


✨ DESCRIPTION ✨

okay so basically this command adds a root certificate into the local trust stores. that's the whole vibe. πŸ”₯

here's the tea tho β˜• β€” Caddy will try to install its root certificates into the local trust stores automatically when they're first generated, but it might fail if Caddy doesn't have the appropriate permissions to write to the trust store. no cappp. so 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). like, it's the pre-game, and the server is the main character who isn't allowed to do it themselves 😭

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. slay, options, love that for you πŸ’–

this command will attempt to connect to 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. choose your fighter 🫢


✨ OPTIONS ✨

  • -a, --adapter="" β€” name of config adapter to apply (if --config is used). the translator era 🌈
  • --address="" β€” address of the administration API listener (if --config is not used). where we're pulling up at πŸ“
  • --ca="" β€” the ID of the CA to trust (defaults to 'local'). the certificate's govt name πŸ’…
  • -c, --config="" β€” configuration file (if --address is not used). the source material, the lore πŸ“œ
  • -h, --help[=false] β€” help for trust. always here for you, bestie πŸ₯Ί

✨ SEE ALSO ✨

  • caddy(8) β€” the mothership πŸ‘‘

✨ HISTORY ✨

1-Jan-0001 β€” auto generated by spf13/cobra. yeah it's giving ancient, born at the dawn of time, lowkey iconic πŸ™ˆ


aaaaand that's the whole page! remember: Caddy is the manual name, this whole thing is auto generated by spf13/cobra from way back in Jan 0001, and it belongs to the fam as Caddy(8). now go trust those certificates, bestie β€” you got this πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from