If you are a Windows admin and don’t have openSSL make sure to install it now, your certificate might not be in .pem and you will need that specific format
Steps:
- Rename your .pem and .key files to user.http.pem and user.http.key
- Copy the files to /opt/vmware/vcloud-director/data/transfer/ folder (I use Winscp).
- SSH into the appliance
- Change the owner and the group permissions on the certificate files to vcloud
chown vcloud.vcloud /opt/vmware/vcloud-director/data/transfer/user.http.pem
chown vcloud.vcloud /opt/vmware/vcloud-director/data/transfer/user.http.key - Verify that the owner of the certificate files has read and write permissions.
chmod 0750 /opt/vmware/vcloud-director/data/transfer/user.http.pem
chmod 0750 /opt/vmware/vcloud-director/data/transfer/user.http.key - Run the command below
/opt/vmware/vcloud-director/bin/cell-management-tool certificates -j –cert /opt/vmware/vcloud-director/data/transfer/user.http.pem –key /opt/vmware/vcloud-director/data/transfer/user.http.key –key-password root-password - /opt/vmware/vcloud-director/bin/cell-management-tool cell -i $(service vmware-vcd pid cell) -s
- wait for at least a minute then execute the command below
systemctl start vmware-vcd