Fix challenge mapping

This commit is contained in:
Mariano Cano 2022-08-24 19:30:28 -07:00
parent 2a44972830
commit f1c63bc38d

View file

@ -1149,7 +1149,7 @@ func challengesToLinkedca(challenges []string) []linkedca.ACMEProvisioner_Challe
for i, ch := range challenges {
switch ch {
case "http-01":
ret[i] = linkedca.ACMEProvisioner_DNS_01
ret[i] = linkedca.ACMEProvisioner_HTTP_01
case "dns-01":
ret[i] = linkedca.ACMEProvisioner_DNS_01
case "tls-alpn-01":