From 3c9c087a2535a407b67817ff807f55a599619920 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Tue, 23 Feb 2021 08:46:40 -0500 Subject: [PATCH] certificate.Store: Allow certificate of scope '*' --- certificate/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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