Sfoglia il codice sorgente

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

Herman Slatman 2 anni fa
parent
commit
8997ce1a1e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      authority/provisioner/acme.go

+ 1 - 1
authority/provisioner/acme.go

@@ -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