diff --git a/server/certs.go b/server/certs.go index 9e29ce976..853a365f6 100644 --- a/server/certs.go +++ b/server/certs.go @@ -207,7 +207,7 @@ func verifyCert(cert *x509.Certificate, publicKey *ecdsa.PublicKey) error { // the function expects there to be only 1 certificate func getServerCert(URL *url.URL) (*x509.Certificate, error) { conf := &tls.Config{ - InsecureSkipVerify: true, // Only skip verify to get the server's TLS cert. DO NOT skip for any other reason. + InsecureSkipVerify: true, // nolint: gosec // Only skip verify to get the server's TLS cert. DO NOT skip for any other reason. } conn, err := tls.Dial("tcp", URL.Host, conf)