cmd/derper: support custom TLS port when in manual mode (#3231)

Fixes #3232

Change-Id: I8dae5c01f9dfdfd6d45e34e4ca3534b642ae5c8e
Signed-off-by: oocococo <mercurial.lx@gmail.com>
pull/3235/head
oocococo 3 years ago committed by Brad Fitzpatrick
parent 8d14bc32d1
commit 3a2b0fc36c

@ -141,7 +141,7 @@ func main() {
cfg := loadConfig()
serveTLS := tsweb.IsProd443(*addr)
serveTLS := tsweb.IsProd443(*addr) || *certMode == "manual"
s := derp.NewServer(cfg.PrivateKey, log.Printf)
s.SetVerifyClient(*verifyClients)

Loading…
Cancel
Save