Add information about SSL certificates in the default log level.

This commit is contained in:
Manuel de Brito Fontes 2017-03-16 12:07:07 -03:00
parent a5f8fe240c
commit 18492c1384
3 changed files with 15 additions and 5 deletions

View file

@ -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
}
}