How to change the certs for VAMI on VMware vCAC Appliance


I have been working with several customers & after changing the certs for things like vRealize Auotmation using VAMI, they notice that when they access VAMI at port 5480 (ex: https://vra.vt.com:5480), they noticed they still get the self signed cert instead of the signed cert they have installed. The reason for that is the cert that you install through VAMI is not used for VAMI, but to secure connection to the application where in the vRA/vCAC example it’s used to secure connections to the vRA/vCAC portal that is being served at 443.

vRA 62 VAMI invalid security Certificate

For those who want to have a secure signed certs for VAMI, you will have to do it through the command line for now. Below is the instructions provided to me by GSS on how to do so for both the vCAC/vRA identity appliance as well the vCAC/vRA appliance. Please note you can use very similar steps for most of the other VMware appliances that uses VAMI.

Logon to the appliance console (EXVMware Identity Appliance console and execute the following commands:

  1. Copy the rui.pem file (certificate pem file) to the /tmp folder
  2. ls -l /opt/vmware/etc/lighttpd/server.pem and make a note of the server.pem timestamp
  3. cp /opt/vmware/etc/lighttpd/server.pem /opt/vmware/etc/lighttpd/server.pem.bak
  4. cp /tmp/rui.pem /opt/vmware/etc/lighttpd/server.pem
  5. ls -l /opt/vmware/etc/lighttpd/server.pem and verify the server.pem has been updated
  6. service vami-lighttp restart

Logon to the vCAC Appliance console

  1. ls -l /opt/vmware/etc/lighttpd/server.pem and make a note of the server.pem timestamp
  2. cp /opt/vmware/etc/lighttpd/server.pem /opt/vmware/etc/lighttpd/server.pem.bck
  3. cp /etc/apache2/server.pem /opt/vmware/etc/lighttpd/server.pem
  4. ls -l /opt/vmware/etc/lighttpd/server.pem and verify the server.pem has been updated
  5. service vami-lighttp restart

Hope this help!


One response to “How to change the certs for VAMI on VMware vCAC Appliance”

  1. Thanks so much

    You absolutely made my day. BTW in vRA 6.2.2 this is not optional but required for IaaS service to install and work as expected.

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *