-
Notifications
You must be signed in to change notification settings - Fork 935
Open
Labels
Description
Checks before filing an issue
- This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- I have checked the issue tracker and have not found an issue that matches the one I'm filing.
- This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
- This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
- I have read the contribution guidelines.
Mattermost Desktop Version
5.10.2
Operating System
Ubuntu 24.04.1 LTS
Mattermost Server Version
9.11.8
Steps to reproduce
- Open the mattermost desktop client and connect to an instance with a self-signed certificate
- Manually trust the certificate from the popup (which adds the certificate to
~/.config/Mattermost/certificate.json

- The trusted certificate expires and is renewed
- The popup to trust the certificate appears again
Expected behavior
There should be a way to point the Mattermost desktop client to the custom Authority's certificate instead of simply trusting the TLS certificate (which is bound to expire and be renewed).
Otherwise, the user is prompted to re-trust the certificate every time it expires (which can be frequent in modern environments with automatic renewal) which is not secure.
Observed behavior
A TLS certificate error pops up in the mattermost desktop client every time the TLS certificate of the server is renewed.
Log Output
[2025-01-23 13:19:49.181] [warn] [App.Utils] Could not get server info for NetOPS Error: net::ERR_CERT_AUTHORITY_INVALID
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:117806)
at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2025-01-23 13:19:49.277] [info] [MattermostBrowser...] [NetOPS] [TAB_MESSAGING] Invalid certificate, stop retrying until the user decides what to do: Error: ERR_CERT_AUTHORITY_INVALID (-202) loading 'https://█████████████/'.Additional Information
No response
Reactions are currently unavailable