|
@@ -195,13 +195,13 @@ func (m *Manager) GetCert(helloInfo *tls.ClientHelloInfo) (*tls.Certificate, err
|
|
|
//Use default.pem and default.key
|
|
|
pubKey = filepath.Join(m.CertStore, "default.pem")
|
|
|
priKey = filepath.Join(m.CertStore, "default.key")
|
|
|
- if m.verbal {
|
|
|
- log.Println("No matching certificate found. Serving with default")
|
|
|
- }
|
|
|
+ //if m.verbal {
|
|
|
+ // log.Println("No matching certificate found. Serving with default")
|
|
|
+ //}
|
|
|
} else {
|
|
|
- if m.verbal {
|
|
|
- log.Println("Matching certificate not found. Serving with build-in certificate. Requesting server name: ", helloInfo.ServerName)
|
|
|
- }
|
|
|
+ //if m.verbal {
|
|
|
+ // log.Println("Matching certificate not found. Serving with build-in certificate. Requesting server name: ", helloInfo.ServerName)
|
|
|
+ //}
|
|
|
}
|
|
|
}
|
|
|
|