From 18ff8748e797d8db993d30591c37ade3c8cda4d9 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sun, 25 Mar 2018 22:00:18 -0600 Subject: [PATCH] caddytls: Default to Let's Encrypt's ACMEv2 production endpoint --- caddy/caddymain/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy/caddymain/run.go b/caddy/caddymain/run.go index 82de6268d..ddc50aac0 100644 --- a/caddy/caddymain/run.go +++ b/caddy/caddymain/run.go @@ -42,7 +42,7 @@ func init() { setVersion() flag.BoolVar(&caddytls.Agreed, "agree", false, "Agree to the CA's Subscriber Agreement") - flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-staging-v02.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory") + flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-v02.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory") flag.BoolVar(&caddytls.DisableHTTPChallenge, "disable-http-challenge", caddytls.DisableHTTPChallenge, "Disable the ACME HTTP challenge") flag.BoolVar(&caddytls.DisableTLSSNIChallenge, "disable-tls-sni-challenge", caddytls.DisableTLSSNIChallenge, "Disable the ACME TLS-SNI challenge") flag.StringVar(&conf, "conf", "", "Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")