code: public String generateCertificateSigningRequestByDn(String distinguishedName) throws HostConfigFault, RuntimeFault, RemoteException {
          return getVimService().generateCertificateSigningRequestByDn(getMOR(), distinguishedName);
      }
docs: Requests the server to generate a certificate-signing request (CSR) for itself. Alternative version similar to
  GenerateCertificateSigningRequest but takes a Distinguished Name (DN) as a parameter.
  
  @param distinguishedName DN to be used as subject in CSR.
  @return CSR in PEM format
  @throws HostConfigFault
  @throws RuntimeFault
  @throws RemoteException