Add information about SSL certificates in the default log level.
This commit is contained in:
parent
a5f8fe240c
commit
18492c1384
3 changed files with 15 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ func isHostValid(host string, cert *ingress.SSLCert) bool {
|
|||
return false
|
||||
}
|
||||
for _, cn := range cert.CN {
|
||||
if matchHostnames(cn, host) {
|
||||
if matchHostnames(cn, strings.ToLower(host)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue