aboutsummaryrefslogtreecommitdiff
path: root/solve_tls.go
diff options
context:
space:
mode:
Diffstat (limited to 'solve_tls.go')
-rw-r--r--solve_tls.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/solve_tls.go b/solve_tls.go
index 2c2d73b..808ef42 100644
--- a/solve_tls.go
+++ b/solve_tls.go
@@ -32,17 +32,11 @@ func NewTLSSolver(addr string) (Solver, error) {
if addr == "" {
return nil, ErrSkipped
}
- // we need at least one cert
- dummy, err := newCert("dummy" + AcmeInvalid)
- if err != nil {
- return nil, err
- }
s := &tlsSolver{
Server: http.Server{Addr: addr},
sni: make(map[string]*tls.Certificate),
}
s.Server.TLSConfig = &tls.Config{
- Certificates: []tls.Certificate{dummy},
GetCertificate: s.getCert,
}
return s, nil