Unable to query API
search cancel

Unable to query API

book

Article ID: 385860

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Attempting to query the VMware Cloud Director API results in the following error message. 

"IOException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

Environment

  • VMware Cloud Director 10.x

Cause

The error message is occurring because the Certificate CN does not match the API endpoint configured in the Public Addresses page.

Resolution

Remove the certificate from the API endpoint in Public Addresses or update with the correct certificate.