A
A
Andrey2020-02-05 09:29:33
linux
Andrey, 2020-02-05 09:29:33

Why does the Rocket Chat app from any iphone not connect to the server?

Good afternoon. I’ll make a reservation right away - I have little experience in lunux
Installed rocket chat on ubuntu server 18.04. Everything works great on all devices and platforms except iPhones. It displays the error "Invalid URL or unable to establish a secure connection."
Has anyone already solved this problem?
Everything works fine on android

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Ronald McDonald, 2020-02-05
@Andreyussur

"Invalid URL or unable to establish a secure connection."
Has anyone already solved this problem?

Oh, I did. Trouble in the certificate - do you have it on Rocket? HTTPS I mean.
Everything works fine on android

Because the "B" in the word "Android" means "Security".

0
0x02, 2020-04-18
@0x02

The Rocket.Chat mobile client does not use the Android and IOS certificate store. Therefore, it cannot establish a secure connection. On the web service for nginx, you need to add a bundle certificate (ca + intermediate + cert)
cat cert.crt fullchain.crt > bundle.crt
If the server certificate and the bundle of certificates were connected in the wrong order, nginx will refuse to start and give an error message:

SSL_CTX_use_PrivateKey_file(" ... /www.example.com.key") failed
       (SSL: error:0B080074:x509 certificate routines:
        X509_check_private_key:key values mismatch)

Because nginx will try to use the private key with the first certificate in the bundle instead of the server certificate.

D
datka, 2020-02-05
@datka

https://github.com/RocketChat/Rocket.Chat.iOS/issu... look here

M
maximice, 2020-02-19
@maximice

I have the same problem on both Android and IOS.
Certs from Sectigo, not self-signed.
Are there any other solutions?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question