summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/acmemanager.go5
-rw-r--r--modules/caddytls/connpolicy.go2
-rw-r--r--modules/caddytls/tls.go2
-rw-r--r--modules/caddytls/values.go2
4 files changed, 4 insertions, 7 deletions
diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go
index 572bbd8..b717268 100644
--- a/modules/caddytls/acmemanager.go
+++ b/modules/caddytls/acmemanager.go
@@ -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.
diff --git a/modules/caddytls/connpolicy.go b/modules/caddytls/connpolicy.go
index 16fd4f1..c952369 100644
--- a/modules/caddytls/connpolicy.go
+++ b/modules/caddytls/connpolicy.go
@@ -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"
)
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 62ec98d..93a05be 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -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"
)
diff --git a/modules/caddytls/values.go b/modules/caddytls/values.go
index 533794c..21a6b33 100644
--- a/modules/caddytls/values.go
+++ b/modules/caddytls/values.go
@@ -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"
)