code: func (c *Certificate) GetTruncatedCertificateName() string {
  	certName := c.CertFile.String()
  
  	// Truncate certificate information only if it's a well formed certificate content with more than 50 characters
  	if !c.CertFile.IsPath() && strings.HasPrefix(certName, certificateHeader) && len(certName) > len(certificateHeader)+50 {
  		certName = strings.TrimPrefix(c.CertFile.String(), certificateHeader)[:50]
  	}
  
  	return certName
  }
docs: // GetTruncatedCertificateName truncates the certificate name