To resolve this issue, add the valid vCloud Director certificate to the Chargeback cacerts before configuring the plugin.
Note: It is required to reboot the Chargeback appliance during these steps.
- Download the certificate from vCloud Director in .PEM format.
- Using an SCP utility, copy the downloaded certificate to the Chargeback appliance's /tmp directory.
- Log into the Chargeback appliance as root via SSH or Console.
- Navigate to the /tmp directory:
cd /tmp
- Run the following command to:
openssl x509 -in vcdcert.pem -outform pem -outform der -out cert.cer
Note: Replace vcdcert.pem with the name of the certificate file downloaded from vCloud Director.
- Run the following command to add the certificate to the Chargeback cacerts store:
keytool -import -alias alias_name -keystore '/usr/java/jre-vmware/lib/security/cacerts' -file cert.cer
Note: Replace alias_name with the Alias you'd like to give the certificate.
Example: keytool -import -alias vcdcert -keystore '/usr/java/jre-vmware/lib/security/cacerts' -file cert.cer
Note: When prompted, enter the default password of changeit and press enter.
- Reboot the Chargeback appliance by running the following command:
reboot
Once the Chargeback appliance has finished rebooting, you can configure the plugin again after clearing the old backend extensions from vCloud Director using API explorer.