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

On this page
    TrustServerCertificate Property
    On this page
    Gets or sets a value indicating whether, with SSL Mode=Require, the server certificate is accepted without validating its chain and host name. The default value is false.
    Syntax
    'Declaration
     
    Public Property TrustServerCertificate As Boolean
    public bool TrustServerCertificate {get; set;}
    Remarks
    Connection string keyword: Trust Server Certificate.
    See Also