fix(smartacme): Include base domain alongside wildcard when building identifiers for wildcard certificate requests

This commit is contained in:
2026-02-16 02:46:54 +00:00
parent e2d182ca03
commit adf9262ded
3 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Changelog # Changelog
## 2026-02-16 - 9.1.3 - fix(smartacme)
Include base domain alongside wildcard when building identifiers for wildcard certificate requests
- When isWildcardRequest is true, the base domain (e.g. example.com) is now added in addition to the wildcard (*.example.com) so the issued certificate covers both apex and wildcard entries.
- Prevents missing SAN for the apex domain when requesting wildcard certificates.
## 2026-02-15 - 9.1.2 - fix(docs) ## 2026-02-15 - 9.1.2 - fix(docs)
document built-in concurrency control, rate limiting, and request deduplication in README document built-in concurrency control, rate limiting, and request deduplication in README

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartacme', name: '@push.rocks/smartacme',
version: '9.1.2', version: '9.1.3',
description: 'A TypeScript-based ACME client for LetsEncrypt certificate management with a focus on simplicity and power.' description: 'A TypeScript-based ACME client for LetsEncrypt certificate management with a focus on simplicity and power.'
} }

View File

@@ -430,6 +430,7 @@ export class SmartAcme {
if (isWildcardRequest) { if (isWildcardRequest) {
identifiers.push({ type: 'dns', value: `*.${certDomainName}` }); identifiers.push({ type: 'dns', value: `*.${certDomainName}` });
identifiers.push({ type: 'dns', value: certDomainName });
} else { } else {
identifiers.push({ type: 'dns', value: certDomainName }); identifiers.push({ type: 'dns', value: certDomainName });