How to enable PKI on Mattermost Desktop Client

Summary

I have a server which requires PKI authentication, works in the browser but the desktop application doesn’t seem to be picking up the client certificate. Any ideas how to add it in?

Steps to reproduce

Create a server, follow the ‘client certificate’ steps for authentication. Try to connect to it using Mattermost Desktop (e.g. the one for Mac)

Expected behavior

Being able to login

Observed behavior

Not being able to login.

Ah, now it pops up and asks for the client certificate.