I am getting below error while service to service API communication. certificate is already imported in the java keystore.
[ERROR]: I/O error on GET request for "https://url.com/data-api/customer": PKIX path validation failed: java.security.cert.CertPathValidatorException: name constraints check failed; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: name constraints check failed