Run the following commands to ensure that deployed virtual machines register with software services.

Prerequisites

You must have administrator privileges on the virtual appliance host machine.

Procedure

Open a new command prompt on the virtual appliance host machine and run the following commands.

openssl pkcs12 -export -name rabbitmq_ca -in /etc/rabbitmq/certs/ca/cacert.pem -inkey /etc/rabbitmq/certs/ca/private/cakey.pem -out /tmp/rabbitmq_keystore.p12 -password pass:password keytool -importkeystore -destkeystore /etc/vcac/vcac.keystore -deststorepass password -srckeystore /tmp/rabbitmq_keystore.p12 -srcstoretype pkcs12 -srcstorepass password -alias rabbitmq_ca grep -q certificate.store.ssl.rabbit.ca.alias=rabbitmq_ca /etc/vcac/security.properties || echo 'certificate.store.ssl.rabbit.ca.alias=rabbitmq_ca' >> /etc/vcac/security.properties