Exchanging SSL certificates

Use this recipe if your SSL certificate has expired or if you want to exchange self-signed certificates for CA certificates.

Getting ready

We need a working vCD Cell. If you have CA certificates, that's great, otherwise, we will create self-signed ones.

How to do it...

We will now exchange the existing SSL certificates.

Preparation

Perform the following steps as preparation:

  1. Log in to the vCD Cell.
  2. Gain root access, if you haven't already.
  3. Shut down the cell. See the A scripted cell shutdown recipe in Chapter 5, Working with the vCloud API.
  4. Navigate to the vCloud directory with the following command:
    cd /opt/vmware/vcloud-director
    
  5. Make a backup of the certification keystore with the following command (you need to use the path ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.