VCD Certificate
Install the VCD Certificate in JSDN
- Steps to download the usage meter certificate by accessing the usage meter url.
- Browse the vCenter host url in the browser.
- Ex: vcentervcd.jstpl.com
- Click the Certificates icon on the browser.
- Click View Certificates.
- Click the Details tab and click Copy to file.
- Click Next.
- By default DER encoded binary x.509 (.CER) option is selected. Click Next.
- Provide a name for the certificate.
- Click Finish.
AuthToken Configuration in JSDN
Click here to know how to get your Auth Token.Please update the auth token (retrieved) and usage meter timezone at below location:
/d01/apache-tomcat-8.5.31/appConfig/iaas/vcloudadapter.properties
Example:
AuthToken=TOKBTCBA4NRBMPSORJDLELLM1QHPQ1FCOAB
UsageMeterTimeZone=GMT
Import Usage Meter Server Certificate:
- Login to Jboss server.
- Stop jboss server.
- Download certificate by accessing VmWare Vcloud Director URL in any browser.
- Copy the downloaded certificate into <jboss-home>/pp_config/config/security location.
- Navigate to <jboss-home>/pp_config/config/security in server.
- Execute below command to import certificate.
- <JAVA_HOME>/bin/keytool -import -keystore Cacerts_Jamcracker -alias <anyname> -file <certificatename>
Example: /d01/jdk1.7.0_51/bin/keytool -import -keystore Cacerts_Jamcracker -alias vsphereusage -file vmwarecrt.cer
- Enter password as "changeit".
- Re-start Tomcat server.
- Start Jboss server.