diff --git a/certificate/store.go b/certificate/store.go index f906386..375068b 100644 --- a/certificate/store.go +++ b/certificate/store.go @@ -84,7 +84,7 @@ func (s *Store) Get(hostname string) (*tls.Certificate, error) { cert, ok := s.certs[hostname] if !ok { // Try "*" - _, ok = s.certs["*"] + cert, ok = s.certs["*"] } if !ok { // Try wildcard