caddy/cmd
Francis Lavoie bbad6931e3
pki: Implement API endpoints for certs and `caddy trust` (#4443)
* admin: Implement /pki/certificates/<id> API

* pki: Lower "skip_install_trust" log level to INFO

See https://github.com/caddyserver/caddy/issues/4058#issuecomment-976132935

It's not necessary to warn about this, because this was an option explicitly configured by the user. Still useful to log, but we don't need to be so loud about it.

* cmd: Export functions needed for PKI app, return API response to caller

* pki: Rewrite `caddy trust` command to use new admin endpoint instead

* pki: Rewrite `caddy untrust` command to support using admin endpoint

* Refactor cmd and pki packages for determining admin API endpoint
2022-03-02 11:08:36 -07:00
..
caddy Update docs; commit setcap.sh 2021-02-24 11:55:56 -07:00
commandfuncs.go pki: Implement API endpoints for certs and `caddy trust` (#4443) 2022-03-02 11:08:36 -07:00
commands.go pki: Implement API endpoints for certs and `caddy trust` (#4443) 2022-03-02 11:08:36 -07:00
main.go pki: Implement API endpoints for certs and `caddy trust` (#4443) 2022-03-02 11:08:36 -07:00
packagesfuncs.go caddycmd: Add `--keep-backup` to upgrade commands (#4387) 2021-11-08 11:35:46 -07:00
removebinary.go caddycmd: Add `--keep-backup` to upgrade commands (#4387) 2021-11-08 11:35:46 -07:00
removebinary_windows.go caddycmd: Add `--keep-backup` to upgrade commands (#4387) 2021-11-08 11:35:46 -07:00