dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnectionStringBuilder Class / SslCACert Property

On this page
    SslCACert Property
    On this page
    Gets or sets the PEM file of the certificate authority that validates the server certificate (tlsCAFile); used with SSL Mode=Require. Not supported on Windows: Open throws MongoDBException; import the CA certificate into the Windows certificate store instead. The default value is an empty string.
    Syntax
    'Declaration
     
    Public Property SslCACert As String
    public string SslCACert {get; set;}
    Remarks
    Connection string keyword: SSL CA Cert.
    See Also