code: func WriteCertAndKey(pkiPath string, name string, cert *x509.Certificate, key crypto.Signer) error {
  	if err := WriteKey(pkiPath, name, key); err != nil {
  		return errors.Wrap(err, "couldn't write key")
  	}
  
  	return WriteCert(pkiPath, name, cert)
  }
docs: // WriteCertAndKey stores certificate and key at the specified location