GeckoFx use Certificate

682 Views Asked by At

Im using GeckoFx 45.

In Firefox, I click on a button, it asks for a certificate. I choose it and it goes on. In GeckoFx, when I click on the button, it returns the error SSL peer was unable to negotiate an acceptable set of security parameters.

I don´t know how to make GeckoFx ask for the certificate or how do I set one.

Tryed to send in header, but it didn´t worked, returning the same error.

X509Certificate2 certificate;
var headers = Gecko.IO.MimeInputStream.Create();
headers.AddHeader("X-Client-Cert",certificate.GetRawCertDataString());
wb.Navigate(e.Uri.AbsoluteUri, GeckoLoadFlags.None, "", null, headers);
//wb is the GeckoWebBrowser

Any ideas?

0

There are 0 best solutions below