WebBrowser CertificateStoreName Property C# API
Gets or sets the name of the system certificate store.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax

public string CertificateStoreName { get; set; }

Field Value

The name of the system certificate store, e.g. "MY" or "ROOT".
Exceptions

ExceptionCondition
NotSupportedExceptionThe Internal HTTP handler is currently in use, for which this property is not supported.
Remarks

As part of the SSL/TLS handshake, a server can request a certificate to authenticate the client (i.e. the virtual user). If you have a client certificate, you can specify its location with this property and CertificateSubject.
  • The default certificate store name is "MY", which corresponds to Certificates - Current User\Personal\Certificates.
  • Another common option is "ROOT" which corresponds to Certificates - Current User\Trusted Root Certification Authorities\Certificates.
Both of these certificate stores can be viewed by running certmgr.msc, from which you can also add client certificates.
Note Note
It is not possible to load client certificates from the Certificates - Local Computer certificate stores (which are viewable by running certlm.msc).
See Also