-1
I made a routine for online payments in Cielo, JSF , the tests I did with Tomcat 9, with Windows 10 ran 100%, but when I put in production in Glassfish 4, the system when redirecting to the Cielo page comes with this 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.
I believe it is not the code but some OS(Open Suse) or Glassfish certificate configuration.
you placed the ssl certificate on the server?
– Erick Luz
No, the system does not have Ssl certificate. Or you speak of the Ssl of the site that I will access?
– Gilmar
This error you are getting is that your library did not find certification on your server. most likely the directory that is on your development machine is different from the server, or else there is not even the file in the server yet.
– Erick Luz