Get vCenter Server Certificate

The
Site Recovery Manager
API or Site Recovery Manager Virtual Appliance is a secure Web service running on the
Site Recovery Manager
Server. To develop client applications, you must obtain the VMware vCenter Server certificate, which is used by the
Site Recovery Manager
Server, and import it into the certificate store of the workstation where you develop client applications.
  1. From your development workstation, open Internet Explorer (IE).
  2. Navigate to the vCenter Server using HTTPS protocol –
    https://<servername>
    .
    A Security Alert message displays a warning regarding the certificate’s certifying authority.
  3. Click
    View Certificate
    .
  4. Click
    Install Certificate
    to launch the Certificate Import wizard. Keep the default settings and click
    Next
    .
  5. Click
    Finish
    . A security warning message displays concerning the certificate’s certifying authority.
  6. Click
    Yes
    .
    A Certificate Import wizard “success” message displays.
  7. Click
    OK
    to dismiss the success message.
    The Certificate Properties page becomes active again.
  8. Click
    OK
    in the Certificate dialog box to continue to the server.
    The initial Security Alert message presented in step 2 becomes active again.
  9. Click
    Yes
    in the Security Alert message to continue with the original HTTPS request.
    The server Welcome page displays. The certificate is now installed in the IE certificate cache.
Now that you have the certificate, your next task depends on what programming language you use to develop your client applications.
For C# developers, you can continue setting up your development environment by following the instructions at “Setting Up for Microsoft C# Development” in the Developer’s Setup Guide located at VMware’s Web site developer support page under the vSphere Web Services SDK.
For Java developers, you must export the certificates from the IE cache to a local directory. Minimize the IE browser window, and export the certificates as detailed in the following procedure.