Skip to content

edgible certs

Show TLS certificate status (state, expiry, last failure) per hostname

Examples

Terminal window
edgible certs # every application in the organization
edgible certs --app app-web-0001
edgible certs --json | jq '.[].certificates[] | select(.status=="error")'
edgible certs retry app.example.com --app app-web-0001 # after fixing the DNS record
edgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pem

Re-issue a terminally-failed (error/expired) certificate for a hostname

Terminal window
edgible certs retry <hostname> [flags]
FlagDescription
-a, --app <id>Application the hostname belongs to

Examples

Terminal window
edgible certs retry app.example.com --app app-web-0001
edgible certs retry app.example.com --app app-web-0001 --json

Retry 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>.

Upload a certificate you supply for a hostname (tls.managedBy: provided)

Terminal window
edgible certs upload <hostname> [flags]
FlagDescription
-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

Terminal window
edgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pem
edgible certs upload app.example.com --app app-web-0001 --cert cert.pem --key key.pem --chain chain.pem

Use 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.