Restmon unable to find valid certification path to requested target.
search cancel

Restmon unable to find valid certification path to requested target.

book

Article ID: 438640

calendar_today

Updated On:

Products

DX APM SaaS DX Application Performance Management DX OI SaaS DX Operational Intelligence DX Operational Observability DX SaaS

Issue/Introduction

Restmon has been found unable to find valid certification path to requested target.

WARN  HttpClientConnect:304 - [9d22323e, L:/172.16.222.79:57076 - R:apmservices-gateway.###.###.com/###.###.###.###:443] The connection observed an error
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:383)

Cause

Init container could not start progressing Restmon as missing atribute, serverCert was found.

Resolution

Missing serverCert has been found. Ensure that serverCert atriubte as part of values.yaml for Restmon has the valid certificate.

  # Password for the keystore
    storePassword: restmon
    # Alias
    storeAlias: restmon.tls.demo
    # Base64 format of DX-O2/APM tenant certificate to add it in java keystore
    serverCert: "xxxx"