Unable to rotate vCenter administrator@vsphere.local account password from SDDC with error 'SSLPeerUnverifiedException'
search cancel

Unable to rotate vCenter [email protected] account password from SDDC with error 'SSLPeerUnverifiedException'

book

Article ID: 418724

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • The SDDC is unable to rotate the vCenter [email protected] password and returns the following error. The hostname XXXX shown in the error corresponds to the Aria Operations short name.

    Caused by: com.vmware.vcf.aria.operations.invoker.ApiException: javax.net.ssl.SSLPeerUnverifiedException: Hostname XXXX not verified

  • Aria Operations was previously using the FQDN XXXX.domain.com, but it has reverted to using the short hostname.

Environment

VMware Cloud Foundation 5.X

Cause

The SSLPeerUnverifiedException occurs because certificate verification fails when the hostname of Aria Operations does not match the hostname specified in the SSL certificate. Changing the hostname from its FQDN to a short name caused this mismatch, resulting in the error.

Resolution

1. Change the Aria Operations hostname back to its FQDN using the following command

VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py NewHostName

2. Restart Aria Operations node from vCenter.
3. Do 'Trigger Inventory Sync' from lifecycle manager. Refer Inventory synchronization in VMware Aria Suite Lifecycle