"Failed to connect to the proxy server: certificate_unknown" error during the initial Usage Meter connection.
search cancel

"Failed to connect to the proxy server: certificate_unknown" error during the initial Usage Meter connection.

book

Article ID: 321898

calendar_today

Updated On: 05-27-2025

Products

VMware Aria Suite

Issue/Introduction

  • Unable to complete the initial Usage Meter configuration

Error: Failed to connect to the proxy server: certificate_unknown

  • From /opt/vmware/cloudusagemetering/var/logs/dss_main.log reports the following
202X-XX-XX 14:04:38.085 ERROR --- [dss_hub_test_proxy_update] com.vmware.um.uploader.ProxyTester: Proxy test failed with IOException: certificate_unknown(46)
org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
    at org.bouncycastle.jsse.provider.ProvSSLSocketWrap.checkServerTrusted(ProvSSLSocketWrap.java:131)
    at org.bouncycastle.jsse.provider.ProvTlsClient$1.notifyServerCertificate(ProvTlsClient.java:360)
Caused by: java.security.cert.CertificateException: Unable to construct a valid chain
    at org.bouncycastle.jsse.provider.ProvX509TrustManager.validateChain(ProvX509TrustManager.java:313)
    at org.bouncycastle.jsse.provider.ProvX509TrustManager.checkTrusted(ProvX509TrustManager.java:272)
    at org.bouncycastle.jsse.provider.ProvX509TrustManager.checkServerTrusted(ProvX509TrustManager.java:181)
    at org.bouncycastle.jsse.provider.ProvSSLSocketWrap.checkServerTrusted(ProvSSLSocketWrap.java:127)
    ... 43 common frames omitted
Caused by: java.security.cert.CertPathBuilderException: No issuer certificate for certificate in certification path found.
    at org.bouncycastle.jcajce.provider.PKIXCertPathBuilderSpi.engineBuild(Unknown Source)

Environment

VMware vCloud Usage Meter 4.x

 

Cause

Usage Meter cannot connect to the cloud portal because the proxy or firewall certificate is not imported.

Resolution

  • To confirm the connection between the usage meter and the cloud portal, and to verify the certificate used for this connection, please execute the following command:

curl -kv  https://ums.cloud.vmware.com/um/api/v1/ping