# Android SSL WebSocket

**URL:** <https://community.letsencrypt.org/t/android-ssl-websocket/10366>\
**Category:** Help\
**Created:** [February 6, 2016, 4:12pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366 "2016-02-06T16:12:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fr0z3n](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/fr0z3n/32/4983_2.png) [@Fr0z3n](https://community.letsencrypt.org/u/Fr0z3n)\
**Post date:** [February 6, 2016, 4:12pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/1 "2016-02-06T16:12:11Z")

</div>

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:

> java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

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

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [February 6, 2016, 7:06pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/2 "2016-02-06T19:06:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Fr0z3n](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/fr0z3n/32/4983_2.png) [@Fr0z3n](https://community.letsencrypt.org/u/Fr0z3n)\
**Post date:** [February 6, 2016, 7:30pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/3 "2016-02-06T19:30:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![electronicsuk](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/electronicsuk/32/73518_2.png) [@electronicsuk](https://community.letsencrypt.org/u/electronicsuk)\
**Post date:** [September 15, 2023, 3:44pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/4 "2023-09-15T15:44:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 15, 2023, 4:13pm UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/5 "2023-09-15T16:13:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![aarongable](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/aarongable/32/42043_2.png) [@aarongable](https://community.letsencrypt.org/u/aarongable)\
**Post date:** [September 16, 2023, 12:00am UTC](https://community.letsencrypt.org/t/android-ssl-websocket/10366/6 "2023-09-16T00:00:51Z")

</div>

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