docs: Add key_type global option

This commit is contained in:
Francis Lavoie 2020-04-09 19:01:40 -04:00 committed by GitHub
parent 0480b129f0
commit 5ac67cab2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ Possible options are:
burst <n>
}
local_certs
key_type <type>
}
```
@ -56,4 +57,5 @@ Possible options are:
- **on_demand_tls** configures [On-Demand TLS](/docs/automatic-https#on-demand-tls) where it is enabled, but does not enable it (to enable it, use the [on_demand `tls` subdirective](/docs/caddyfile/directives/tls#syntax)). Highly recommended if using in production environments, to prevent abuse.
- **ask** will cause Caddy to make an HTTP request to the given URL with a query string of `?domain=` containing the value of the domain name. If the endpoint returns 200 OK, Caddy will be authorized to obtain a certificate for that name.
- **interval** and **burst** allows `<n>` certificate operations within `<duration>` interval.
- **local_certs** causes all certificates to be issued internally by default, rather than through a (public) ACME CA such as Let's Encrypt. This is useful in development environments.
- **local_certs** causes all certificates to be issued internally by default, rather than through a (public) ACME CA such as Let's Encrypt. This is useful in development environments.
- **key_type** customizes the type of key used to generate certificates. Supported values: `ed25519`, `p256`, `p384`, `rsa2048`, `rsa4096`.