Skip to content

Conversation

@bobcat1506
Copy link

Add support for connecting with certificates. Add docker compose file for running mongo in a docker container.

/// <summary>
/// Gets or sets the client certificate to use when connecting to MongoDB
/// </summary>
public string ClientCertificate { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommended to use NLog Layout instead of string. If ClientCertificate is a file-path, then maybe include that in the property-name.

/// <summary>
/// Gets or sets the client certificate password to use when connecting to MongoDB
/// </summary>
public string ClientCertificatePassword { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommended to use NLog Layout instead of string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants