code: func sanitize(cert []byte) string {
  	s := string(cert)
  	r := strings.NewReplacer("-----BEGIN CERTIFICATE-----", "",
  		"-----END CERTIFICATE-----", "",
  		"\n", "")
  	cleaned := r.Replace(s)
  
  	return url.QueryEscape(cleaned)
  }
docs: // sanitize As we pass the raw certificates, remove the useless data and make it http request compliant.