13 lines
977 B
Markdown
13 lines
977 B
Markdown
- this repo is dependent on letsencrypt and its limits
|
|
- to simpify the outside API, smartacme is stateful, meaning it works with a mongodb and a collection called 'SmartacmeCert'.
|
|
|
|
## Certificate Request Behavior
|
|
|
|
As of v7.4.0, SmartAcme no longer automatically requests wildcard certificates for all domain requests. This change was made to fix issues with HTTP-01 only configurations which cannot validate wildcard domains.
|
|
|
|
- By default, `getCertificateForDomain('example.com')` only requests a certificate for `example.com`
|
|
- To request both regular and wildcard certificates, use `getCertificateForDomain('example.com', { includeWildcard: true })`
|
|
- Wildcard certificates require a DNS-01 challenge handler to be configured
|
|
- Direct wildcard requests like `getCertificateForDomain('*.example.com')` only request the wildcard certificate
|
|
|
|
This change ensures HTTP-01 only configurations work properly while still allowing wildcard certificates when needed and supported. |