certificate.Store: Allow certificate of scope '*'
This commit is contained in:
parent
6de05c4b5d
commit
3c9c087a25
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user