On Monday, September 16, 2019 at 5:26:13 PM UTC+1, Mohamed Bouichou wrote: > > Hi, > i'm trying to communicate with an API published in a remote server using > https protocol, the https certificate is installed in the server but still > i get this error whenever i call the server from the simulator or the APK : > > "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 > 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:1946) > at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316) > at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310) > at sun.security.ssl > .ClientHandshaker.serverCertificate(ClientHandshaker.java:1639)" > > What is exactly might be the issue? and please note the emergency of this > problem . > > Thank you. > > > Hi, I had this issue once, it turned out to be a server side problem. My > server guy fixed it, this is what he said: >
"ok.... ssl issue is resolved. i had to put the full chain cert in the ssl.conf file just fyi, and in case it comes up again for any of your other customers, you create a fullchain,pem file and paste in the root certificate and the intermediate certificate from the cert authority and then enable that file in the ssl.conf file SSLCertificateChainFile /root/.ssh/fullchain.pem then restart the httpd service" -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/65d0bd4a-4ba0-4172-8d35-cca7f0c70b41%40googlegroups.com.
