Trying to enable HTTPS microservices. Able to access the discovery URL with HTTPS but when trying to run the java -jar discovery-registration.jar read. We are getting the following error

```
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

```

We verified the certificates are added to JavaKeyStore and able to view the certificate which includes the root certificate and intermediate certificate.

Let me know if anyone faced a similar issue.