func (c *Config) GenerateClientCertificate() error {
	if c.HasClientCertificate() {
		return nil
	}

	certf := c.ConfigPath("client.crt")
	keyf := c.ConfigPath("client.key")

	return shared.FindOrGenCert(certf, keyf, true)
}
func (c *Config) GenerateClientCertificate() error {
	if c.HasClientCertificate() {
		return nil
	}

	certf := c.ConfigPath("client.crt")
	keyf := c.ConfigPath("client.key")

	return shared.FindOrGenCert(certf, keyf, true)
}
func ( c * Config ) GenerateClientCertificate ( ) error { if c . HasClientCertificate ( ) { return nil } certf := c . ConfigPath ( " " ) keyf := c . ConfigPath ( " " ) return shared . FindOrGenCert ( certf , keyf , true ) }
// GenerateClientCertificate will generate the needed client.crt and client.key if needed
GenerateClientCertificate will generate the needed client . crt and client . key if needed