Lines Matching refs:certFile
1973 // is signed by a certificate authority, the certFile should be the concatenation
1998 func ListenAndServeTLS(addr string, certFile string, keyFile string, handler Handler) error {
2000 return server.ListenAndServeTLS(certFile, keyFile)
2009 // authority, the certFile should be the concatenation of the server's
2013 func (srv *Server) ListenAndServeTLS(certFile, keyFile string) error {
2023 if len(config.Certificates) == 0 || certFile != "" || keyFile != "" {
2026 config.Certificates[0], err = tls.LoadX509KeyPair(certFile, keyFile)