-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(acme) bump lua-resty-acme to get better error handling (#17)
update readme to avoid confusion with plugin config
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,8 @@ $ curl http://localhost:8001/plugins \ | |
-d name=acme \ | ||
-d [email protected] \ | ||
-d config.tos_accepted=true \ | ||
-d config.domains[]=my.secret.domains.com | ||
-d config.domains[]=my.secret.domains.com \ | ||
-d config.domains[]=my.anoother.secret.domains.com | ||
``` | ||
|
||
Note by setting `tos_accepted` to *true* implies that you have read and accepted | ||
|
@@ -65,7 +66,7 @@ $ curl https://mydomain.com | |
Name | Required | Default | Description | ||
-------------------:|------------|------------|------------ | ||
config.account_email| Yes | | The account identifier, can be reused in different plugin instance. | ||
config.api_uri | | `"https://acme-v02.api.letsencrypt.org"` | The ACMEv2 API endpoint to use, user might use [Let's Encrypt staging environemnt](https://letsencrypt.org/docs/staging-environment/) during testing. Kong doesn't automatically delete staging certificates, if you use same domain to test and use in production, you will need to delete those certificates manaully after test. | ||
config.api_uri | | `"https://acme-v02.api.letsencrypt.org"` | The ACMEv2 API endpoint to use, the url should only contain root path. User might use [Let's Encrypt staging environemnt](https://letsencrypt.org/docs/staging-environment/)(`https://acme-staging-v02.api.letsencrypt.org`) during testing. Kong doesn't automatically delete staging certificates, if you use same domain to test and use in production, you will need to delete those certificates manaully after test. | ||
config.cert_type | | `"rsa"` | The certificate type to create, choice of `"rsa"` for RSA certificate or `"ecc"` for EC certificate. | ||
config.domains | | `[]` | The list of domains to create certificate for. To match subdomains under `example.com`, use `*.example.com`. Regex pattern is not supported. Note this config is only used to match domains, not to specify the Common Name or Subject Alternative Name to create certifcates; each domain will have its own certificate. | ||
config.renew_threshold_days| | `14` | Days before expire to renew the certificate. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters