Procedure
- Log in to vCloud Usage Meter 4.5/4.6 console as root.
- Assuming you are using the default location of the TLS certificate and private key for the nginx service, use the following command; otherwise, adjust the paths to the private key and certificate file.
cat /etc/ssl/private/nginx-selfsigned.key /etc/ssl/certs/nginx-selfsigned.crt > /opt/vmware/etc/lighttpd/server.pem
- Restart the Usage Meter appliance.
- Verify if the certificates are replaced. Assuming you are logged in to the Usage Meter appliance, compare the fingerprints returned by executing the following commands. The output should be the same.
Note: Replace the localhost with the Usage Meter IP address if you run those commands from a different computer.
openssl s_client -connect localhost:8443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin
openssl s_client -connect localhost:5480 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin