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

On this page
    SslCert Property
    On this page
    Gets or sets the PEM file with the client certificate and its private key (tlsCertificateKeyFile); used with SSL Mode=Require. On Windows the key must be an unencrypted PKCS#1 RSA key (-----BEGIN RSA PRIVATE KEY-----); for another key format Open throws MongoDBException. The default value is an empty string.
    Syntax
    'Declaration
     
    Public Property SslCert As String
    public string SslCert {get; set;}
    Remarks
    Connection string keyword: SSL Cert.
    See Also