Which JDK are you using? Some older (even early 1.8.x) versions don't recognize some of the newer certificate authorities.
On Wed, Apr 24, 2019 at 3:00 AM <[email protected]> wrote: > Setup tomcat with SSL certificate, via the browser Fireforx and Safari > both working perfect, but in the App doesn't work with error below: > > 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 > [Network Thread] 0:0:0,1 - Exception: 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.Alerts.getSSLException(Alerts.java:192) > at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) > at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) > at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) > > Tried other website which with https and received same error as above. > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at > https://groups.google.com/group/codenameone-discussions. > To view this discussion on the web visit > https://groups.google.com/d/msgid/codenameone-discussions/3b6a79bc-e8f7-4d99-a3bc-779692a352bc%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/3b6a79bc-e8f7-4d99-a3bc-779692a352bc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKX47HynL%3Dzueaqu1mbgOc44uCwchO3e8EMZpmTgCdvLyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
