code: func sanitizedDomain(domain string) string {
  	safe, err := idna.ToASCII(strings.Replace(domain, "*", "_", -1))
  	if err != nil {
  		log.Fatal(err)
  	}
  	return safe
  }
docs: // sanitizedDomain Make sure no funny chars are in the cert names (like wildcards ;))