Skip to content

Use a custom certificate

Your server administrator manages the HTTPS certificate for your Zulip server. Public servers normally use a certificate issued by a trusted certificate authority. An isolated corporate server may instead use an internal certificate authority or a self-signed server certificate.

Most browsers will show a warning if you try to connect to a Zulip server with a self-signed certificate.

Before accepting an exception or importing a certificate, confirm the server’s address and the certificate’s fingerprint with your administrator through a trusted channel. Follow their instructions for your browser and platform.

If the certificate is unexpected or cannot be verified, stop and contact your administrator. Trusting a malicious certificate could expose your account credentials and messages.

The current Zulip app does not have an Add Custom Certificates screen or a setting to bypass certificate verification. Ask your administrator to provide a certificate chain accepted by your app build, or deployment instructions for your platform. Importing a certificate into a browser’s store does not guarantee that the native app will trust it.

The steps below apply to the older Electron client, if your administrator provides it. Certificate storage varies by operating system and the Chromium version bundled with that client. Import only the verified certificate or certificate authority supplied by your administrator.

  1. Hit Cmd + Space to bring up Spotlight Search, type Keychain Access, and press Enter.
  2. From the File menu, choose Import Items…
  3. Navigate to the certificate file, then click Open.
  4. Right-click the newly-added certificate, and click Get Info from the context menu.
  5. Expand the Trust section.
  6. Select Always Trust for the Secure Sockets Layer (SSL) option.
  7. Close the window. You will be prompted for your password to verify the change.
  8. Restart the Zulip Desktop application.