Disable wire-dpop-01 and wire-oidc-01 by default

This commit is contained in:
Herman Slatman 2024-01-10 20:06:02 +01:00
parent bf8c17e3ec
commit 8997ce1a1e
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

View File

@ -304,7 +304,7 @@ func (p *ACME) AuthorizeRenew(ctx context.Context, cert *x509.Certificate) error
// Challenge provisioner property should have at least one element.
func (p *ACME) IsChallengeEnabled(_ context.Context, challenge ACMEChallenge) bool {
enabledChallenges := []ACMEChallenge{
HTTP_01, DNS_01, TLS_ALPN_01, WIREOIDC_01, WIREDPOP_01,
HTTP_01, DNS_01, TLS_ALPN_01,
}
if len(p.Challenges) > 0 {
enabledChallenges = p.Challenges