Hi, I am getting below certificate error while trying to connect INT ERS API
I/O error on POST request for “https://int.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/$ers.fetchworklist”: java.security.cert.CertificateException: No X509TrustManager implementation available
When I download the certificate from the website and add to the java trust store, the token URL https://int.api.service.nhs.uk/oauth2/token fails with below certificate 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
at sun.security.ssl.Alert.createSSLException(Alert.java:131)
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target