code: func PrintCert(key, csrBytes, cert []byte) {
  	out := map[string]string{}
  	if cert != nil {
  		out["cert"] = string(cert)
  	}
  
  	if key != nil {
  		out["key"] = string(key)
  	}
  
  	if csrBytes != nil {
  		out["csr"] = string(csrBytes)
  	}
  
  	jsonOut, err := json.Marshal(out)
  	if err != nil {
  		return
  	}
  	fmt.Printf("%s\n", jsonOut)
  }
docs: // PrintCert outputs a cert, key and csr to stdout