https://bugs.winehq.org/show_bug.cgi?id=31430
--- Comment #16 from Esme Povirk madewokherd@gmail.com --- It seems the application assumes the personal certificate store already exists. Importing a certificate to the personal store in Internet Settings works around this.
We then get an exception trying to create a certificate from a handle.
System.PlatformNotSupportedException: Initializing `X509Certificate` from native handle is not supported. at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.IntPtr handle) [0x0001c] in <359d9744aa4242ad99e65d254041b52c>:0