1Caddy(8)                                                              Caddy(8)
2
3
4

NAME

6       caddy-trust - Installs a CA certificate into local trust stores
7
8
9

SYNOPSIS

11       caddy trust [flags]
12
13
14

DESCRIPTION

16       Adds a root certificate into the local trust stores.
17
18
19       Caddy  will  attempt  to  install  its root certificates into the local
20       trust stores automatically when they are first generated, but it  might
21       fail  if Caddy doesn't have the appropriate permissions to write to the
22       trust store. This command is necessary to pre-install the  certificates
23       before  using  them, if the server process runs as an unprivileged user
24       (such as via systemd).
25
26
27       By default, this command installs the root certificate for Caddy's  de‐
28       fault  CA (i.e. 'local'). You may specify the ID of another CA with the
29       --ca flag.
30
31
32       This command will attempt to connect to Caddy's admin  API  running  at
33       explicitly  specify the --address, or use the --config flag to load the
34       admin address from your config, if not using the default.
35
36
37

OPTIONS

39       --adapter=""      Name of config adapter to apply (if --config is used)
40
41
42       --address=""      Address of the administration API listener (if --con‐
43       fig is not used)
44
45
46       --ca=""      The ID of the CA to trust (defaults to 'local')
47
48
49       --config=""      Configuration file (if --address is not used)
50
51
52       -h, --help[=false]      help for trust
53
54
55

SEE ALSO

57       caddy(8)
58
59
60

HISTORY

62       15-Aug-2023 Auto generated by spf13/cobra
63
64
65
66Auto generated by spf13/cobra      Aug 2023                           Caddy(8)
Impressum