Android SSL WebSocket

I'm trying to use WSS with LE certificate.
I'm using node.js to setup the server. Everything is configured properly on the server (i think).

Using a WebClient like Chrome i can connect to the secure WebSocket, but i'm developing also an Android app that relies on the same server, but i get an expection: Trust anchor for certification path not found.

I'm using Android Studio on OSX 10.11.3 - Java 8 build 71

Are you serving the chain with the Let’s Encrypt intermediate certificate? Did you configure the use of chain.pem or fullchain.pem, not just cert.pem?

Desktop browsers often don’t complain when the intermediate certificate is missing because they can cache it if they saw it on another site.


I didn’t as i only set the cert and the key, thanks, now it is working.

1 Like

can you share what you did to get the certificate to work? I am facing the exact same problem you faced.

The answer was already provided? Please open a new thread with a detailed explanation of your setup and detailed request for help if you're unable to figure it out by yourself.


This topic was automatically closed 30 minutes after the last reply. New replies are no longer allowed.