RocketChat / RocketChat/Rocket.Chat.ReactNative
Certificate error in the iOS app
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description:
I am trying to connect to a local RocketChat server using the iOS app on my phone. The server is behind a VPN and uses Nginx as a reverse proxy. I have valid self-signed certificates installed on my server. I have no issues with the Android app; after adding the certificate, I was able to connect. However, I'm having trouble with the iPhone. I suspect it's an issue with the iOS app. Could you please check?
Environment Information:
- Rocket.Chat Server Version: 5.0.6
- Rocket.Chat App Version: 4.38.0
- Device Name: Iphone 14 Pro Max
- OS Version:
Steps to reproduce:
- Have the web server in front of Rocket.Chat require client certificates, and "Apply Your Certificate" on the initial screen of the iOS App 4.38.0.
- Enter your workspace URL
- Click Connect
Expected behavior:
App sends client certificate with the request, server permits it, connection succeeds.
Actual behavior:
tcpdump on web server target side shows request coming in without client certificate, it requires one so the connection fails, app reports "Oops! An SSL error has occurred and a secure connection to the server cannot be made."
Additional context:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce with Rocket.Chat Server 5.0.6, iOS App 4.38.0, an iPhone, VPN, Nginx, and a required client certificate. Trace the iOS connection flow after “Apply Your Certificate”; done means the request includes the client certificate, the server permits the connection, and the SSL error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile, networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100