edgible certs
Show TLS certificate status (state, expiry, last failure) per hostname
Examples
edgible certs # every application in the organizationedgible certs --app app-web-0001edgible certs --json | jq '.[].certificates[] | select(.status=="error")'edgible certs retry app.example.com --app app-web-0001 # after fixing the DNS recordedgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pemedgible certs retry
Section titled “edgible certs retry”Re-issue a terminally-failed (error/expired) certificate for a hostname
edgible certs retry <hostname> [flags]| Flag | Description |
|---|---|
-a, --app <id> | Application the hostname belongs to |
Examples
edgible certs retry app.example.com --app app-web-0001edgible certs retry app.example.com --app app-web-0001 --jsonRetry places a FRESH certificate order and resets the validation attempt count. Fix the cause first — for a custom hostname that is almost always the missing CNAME/ALIAS record printed by edgible certs --app <id>.
edgible certs upload
Section titled “edgible certs upload”Upload a certificate you supply for a hostname (tls.managedBy: provided)
edgible certs upload <hostname> [flags]| Flag | Description |
|---|---|
-a, --app <id> | Application the hostname belongs to |
--cert <file> | PEM file holding the certificate for this hostname |
--key <file> | PEM file holding the private key for that certificate |
--chain <file> | PEM file holding the chain, when your provider issues one |
Examples
edgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pemedgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pem --chain chain.pemUse this for a domain you put behind a proxy: declare the access with hostname: { custom: <name>, proxied: true } and tls: { managedBy: provided }, then upload the certificate your proxy provider issued for it. Edgible stores and serves it and does not renew it, so replace it with another upload before it expires. The private key is never returned by any read.