go.mod: Use lego v3 and CertMagic 0.7.0

This commit is contained in:
Matthew Holt
2019-09-12 17:31:10 -06:00
parent 2cb01d43cf
commit 7799554baa
6 changed files with 248 additions and 25 deletions
+1 -4
View File
@@ -20,10 +20,8 @@ import (
"net/url"
"time"
"github.com/go-acme/lego/certcrypto"
"github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge"
"github.com/go-acme/lego/v3/challenge"
"github.com/mholt/certmagic"
)
@@ -51,7 +49,6 @@ type ACMEManagerMaker struct {
Storage json.RawMessage `json:"storage,omitempty"`
storage certmagic.Storage
keyType certcrypto.KeyType
}
// CaddyModule returns the Caddy module information.
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"strings"
"github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge/tlsalpn01"
"github.com/go-acme/lego/v3/challenge/tlsalpn01"
"github.com/mholt/certmagic"
)
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"time"
"github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge"
"github.com/go-acme/lego/v3/challenge"
"github.com/mholt/certmagic"
"golang.org/x/time/rate"
)
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"crypto/tls"
"crypto/x509"
"github.com/go-acme/lego/certcrypto"
"github.com/go-acme/lego/v3/certcrypto"
"github.com/klauspost/cpuid"
)