We are using three domains and each domain is configured with individual Lets-Encrypt Certificate (Done Manual and copied key)
Till now we are using SSL Wild Card certificate for *.geo.com and these are working fine.
Yesterday for each these three domains we generated Lets-encrypt certificate manually and while accessing through browsers its showing correct ssl. But when we try to login the application we are getting an error:
OPTIONS https://api.geo.com/api/pw/user/login.json/1.3.1 XMLHttpRequest cannot load https://api.geo.com/api/pw/user/login.json/1.3.1. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://m-app.geo.com' is therefore not allowed access. The response had HTTP status code 500.
There is no issue with CORS. In error log there is no error is reporting but while checking the WS02 JAVA Console we are getting this error:
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
We also tried generating one certificate for all these domains and checked but still getting same error.
Can anyone please help us on it.