Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

[NEW] Support self-signed certificates for SSL (WebSocket & REST) #708

@ispcolohost

Description

@ispcolohost
  • Your Rocket.Chat app version: 1.4.0 (96)
  • Your Rocket.Chat server version: 0.58.2
  • Device (or Simulator) you're running with: iPad Mini 4 on 11.0

Hi all, we have a reverse proxy in front of our RocketChat for employees to access from the outside securely. It requires a client SSL certificate. This was a non-issue on regular computers; just requires some generating of CSRs and we sign them internally, push back the resulting cert.

On the iOS side, we've run into an issue where only Safari seems to be able to connect to our certificate-based proxy server, so the RocketChat app doesn't work externally. The steps that have been taken were to generate a key and cert on the server side since iOS doesn't have that functionality. Turn the resulting cert and key into a PKCS#12 (.p12) format file. Get the file over to the iOS device, click it, tell it to install. Once that is done, the certificate is visible under Settings -> General -> Profile. If you fire up Safari iOS and hit our RocketChat external URL, it prompts to use the cert, then RocketChat works great. RocketChat+ App does not prompt and just says can't connect.

I don't know the internal workings of the app and how it makes its requests, but wanted to bring this up in case there's any chance of modifying it in a way that would either front-end Safari in some hidden way, or perhaps make use of additional iOS functions that would allow it to gain access to the 'Profile' certificates. Or perhaps Apple has locked that away and such a setup would be impossible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions