code: func (c *Configurator) OutgoingTLSConfigForCheck(skipVerify bool) *tls.Config {
  	c.log("OutgoingTLSConfigForCheck")
  	if !c.enableAgentTLSForChecks() {
  		return &tls.Config{
  			InsecureSkipVerify: skipVerify,
  		}
  	}
  
  	config := c.commonTLSConfig(false)
  	config.InsecureSkipVerify = skipVerify
  	config.ServerName = c.serverNameOrNodeName()
  
  	return config
  }
docs: // IncomingTLSConfig generates a *tls.Config for outgoing TLS connections for
  // checks. This function is separated because there is an extra flag to
  // consider for checks. EnableAgentTLSForChecks and InsecureSkipVerify has to
  // be checked for checks.