# RocketChat Andorid app certificate error

**URL:** <https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166>\
**Category:** Community Support\
**Tags:** android, mobile\
**Created:** [May 27, 2022, 10:23pm UTC](https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166 "2022-05-27T22:23:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moesestt](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@moesestt](https://forums.rocket.chat/u/moesestt)\
**Post date:** [May 27, 2022, 10:23pm UTC](https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166/1 "2022-05-27T22:23:32Z")

</div>

### Description

I was testing out rocketchat on android. I ran into the issue where I get the error message:

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

I read a few other issues where this popped up on an older version of rocketchat but nothing recent. None of the older ones were solved.

I do try and click on the _Apply Your Certificate_ link but it does nothing.

### Server Setup Information

- Version of Rocket.Chat Server: 4.6.2
- Operating System: ubuntu 20.04
- Deployment Method: Manuel
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: 14.18.3
- MongoDB Version: 4.4.13
- Proxy: nginx
- Firewalls involved: none

### Android Info

Model: Pixel 4XL  
Android Version: 12  
Rocketchat app ver: 4.27.1.32281

### Any additional Information

I am amble to connect using the browser on the device but the app does not work.

---

<div class="post-metadata">

**Author:** ![Sico31](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Sico31](https://forums.rocket.chat/u/Sico31)\
**Post date:** [May 30, 2022, 6:39am UTC](https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166/2 "2022-05-30T06:39:03Z")

</div>

Hi, i had the same problem wheni use my own certificate with caddy.  
I would have to deploy the crt certificate on the mobile device ; PEM and KEY was declare in the caddy file.  
But, it’s NOT a godd solution for people outside my company ; so i use the letsencrypt and auto renew certificcate (which doesn’t works since 2 week …)

---

<div class="post-metadata">

**Author:** ![Dj\_lio](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dj_lio/32/4155_2.png) [@Dj\_lio](https://forums.rocket.chat/u/Dj_lio)\
**Post date:** [October 9, 2022, 5:52pm UTC](https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166/3 "2022-10-09T17:52:50Z")

</div>

Bonjour,

Je suis actuellement dans le même cas!!!  
Certificat autosigné, mais impossible de pouvoir me connecter a mon serveur avec un Android, alors que pour un IOS cela fonctionne correctement.  
Que faire?

---

<div class="post-metadata">

**Author:** ![Sico31](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Sico31](https://forums.rocket.chat/u/Sico31)\
**Post date:** [October 12, 2022, 3:02pm UTC](https://forums.rocket.chat/t/rocketchat-andorid-app-certificate-error/14166/4 "2022-10-12T15:02:23Z")

</div>

Bonjour, je n’utilise pas de certificat autosigné mais nos propres certificats wildward payants  
le https est géré par Caddy comme la doc le préconise.  
Pour utiliser nos certificat wildcard, la commande **TLS moncertif.crt moncertif.key** a été rajouté dans le fichier caddyfile  
Cela dit, le crt à lui aussi été modifié afin d’inclure la chaine complète ; le crt doit inclure le contenu du cer (ou du crt) **ET** du chain et là tout roule ; plus d’erreurs android

Cdlt
