code: public static ns_ssl_certkey gen_csr(nitro_service client, ns_ssl_certkey resource) throws Exception
  	{
  		return ((ns_ssl_certkey[]) resource.perform_operation(client, "gen_csr"))[0];
  	}
docs: <pre>
  Use this operation to generate CSR for the certificate.
  </pre>