Add the new pangctl clear certs command

This commit is contained in:
Owen
2026-05-06 16:55:42 -07:00
parent 4e470eee41
commit 20a793b2fd
2 changed files with 10 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ Configure what happens when the trigger runs: add one or more actions (email, we
Webhook bodies are JSON. Every event includes `event`, ISO-8601 `timestamp`, and a `data` object. The event name tells you what changed; `data` always includes `orgId` and entity-specific fields.
`{{data}}` is an object and must be treated as such. If you can not support a object, you can also use the flattened fields shown in the examples below. For example `{{orgId}}`, `{{siteId}}`, and `{{siteName}}` are all available on a site alert.
### Site events
#### `site_online`

View File

@@ -133,6 +133,14 @@ Generate an SSH CA public/private key pair for an organization and store them in
docker exec -it pangolin pangctl generate-org-ca-keys --orgId "org-123"
```
## Clear certificates
Clear all certificates from the database to be reinserted by the server when syncing from acme.json files or using Pangolin DNS.
```bash
docker exec -it pangolin pangctl clear-certificates
```
### Options
- `--orgId` (required): The organization ID