Use srv.tlsConfig instead of srv.sslKey and srv.sslCert