Attempting to build Caddy v2 with the
route53 module, currently see a build error:
# github.com/lucas-clemente/quic-go/internal/handshake C:\Users\u1\go\pkg\mod\github.com\lucas-clemente\firstname.lastname@example.org\internal\handshake\crypto_setup.go:501:72: undefined: qtls.CipherSuite C:\Users\u1\go\pkg\mod\github.com\lucas-clemente\email@example.com\internal\handshake\crypto_setup.go:523:73: undefined: qtls.CipherSuite # github.com/caddyserver/caddy/caddytls C:\Users\u1\go\pkg\mod\github.com\caddyserver\firstname.lastname@example.org\caddytls\setup.go:160:28: cannot use value (type "github.com/go-acme/lego/certcrypto".KeyType) as type "github.com/go-acme/lego/v3/certcrypto".KeyType in assignment C:\Users\u1\go\pkg\mod\github.com\caddyserver\email@example.com\caddytls\setup.go:359:4: cannot use config.Manager.KeyType (type "github.com/go-acme/lego/v3/certcrypto".KeyType) as type "github.com/go-acme/lego/certcrypto".KeyType in field value
With this being my first attempt with Caddy v2 and adding a DNS module I feel like I’m doing something wrong.
Steps to reproduce
I’m compiling on Windows 10…
Basic Initial confirmation of a build completing
λ go version go version go1.13.1 windows/amd64 λ git clone -b v2 "https://github.com/caddyserver/caddy.git" λ cd caddy\cmd\caddy\ λ set GO111MODULE=auto λ go build
At this stage everything is building as expected.
Modification to include the route53 module
Then I modify
caddy\cmd\caddy\main.go to include the following additional line:
This is placed under the line:
Execute the build
λ go build
This is the stage where I receive the error (see above)
Is there something I’m missing or am misunderstanding about how this should work?
EDIT: I’m noting the
caddyserver\firstname.lastname@example.org\caddytls error is obviously indicating the wrong version of Caddy.