Usage meter hostname not verified-certificate error after Upgrade to Usage Meter versions 4.6, 4.7 or 4.8
search cancel

Usage meter hostname not verified-certificate error after Upgrade to Usage Meter versions 4.6, 4.7 or 4.8

book

Article ID: 320658

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

To enable the communication between the Usage Meter and the Cloud Provider Navigator (CPN) portal.


Symptoms:

Upgrading to vCloud Usage Meter 4.6,4.7 or 4.8 can result in the below error message in the vCloud Usage Meter Web interface.

Failed to process journal=>read. Error:com.vmware.um.common.err.UmException: Hostname localhost not verified: certificate: sha256/xxxxxxxxxxxxxxxxxxxxxxxx= DN: CN=photon-machine,ST=Statename,C=subjectAltNames: []. Check the appliance logs for more details

 

Environment

VMware vCloud Usage Meter 4.x

Cause

This is a known issue with Usage Meter 4.6, 4.7 and 4.8
If the hostname is incorrectly set when generating the self-signed certificate, upgrading to vCloud Usage Meter 4.6 or 4.7 results in an error message in the vCloud Usage Meter Web interface.

Resolution

This is a known issue. Below is the workaround.

Workaround:

There is a workaround, the steps are mentioned below.

  1. Take a snapshot of your Usage Meter instance.
  2. Log in as "usagemeter" in the Usage Meter Console window to perform the workaround.
  3. Alternatively, you can take SSH to the usage meter appliance and login as "usagemeter" account.
  4. Generate a new self-signed certificate or import an internal Certification Authority (CA) - Signed Certificate. The certificate CN must match the hostname of the vCloud Usage Meter appliance. Regenerate Certificate
  5. Log in to Usage Meter UI and you should no longer see the error message.
 



Additional Information

https://docs.vmware.com/en/vCloud-Usage-Meter/4.6/rn/vmware-vcloud-usage-meter-46-release-notes/index.html

Impact/Risks:
If not resolved, Usage Meter 4.6 , 4.7.x or 4.8 would not be able to send the usage data to vCloud Usage insight/Cloud Partner Navigator portal.