Add ACME profile support for IP address certificates

Auto-select `shortlived` profile for Let's Encrypt when domain list
contains IP addresses. Expose `profile` option to allow manual override
for custom CA servers.
This commit is contained in:
世界
2026-03-26 15:19:26 +08:00
parent e1d459c5d5
commit 86c44a3e12
6 changed files with 48 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ type ACMECertificateProviderOptions struct {
ExternalAccount *ACMEExternalAccountOptions `json:"external_account,omitempty"`
DNS01Challenge *ACMEProviderDNS01ChallengeOptions `json:"dns01_challenge,omitempty"`
KeyType ACMEKeyType `json:"key_type,omitempty"`
Profile string `json:"profile,omitempty"`
HTTPClient *HTTPClientOptions `json:"http_client,omitempty"`
}
+1
View File
@@ -20,6 +20,7 @@ type InboundACMEOptions struct {
AlternativeTLSPort uint16 `json:"alternative_tls_port,omitempty"`
ExternalAccount *ACMEExternalAccountOptions `json:"external_account,omitempty"`
DNS01Challenge *ACMEDNS01ChallengeOptions `json:"dns01_challenge,omitempty"`
Profile string `json:"profile,omitempty"`
}
type ACMEExternalAccountOptions struct {