Created
February 28, 2020 23:09
-
-
Save shahabedinh/6c7e52cecd6c2c96cfc914de785527db to your computer and use it in GitHub Desktop.
configuration file for mongod or mongos with TLS/SSL Certificate and Key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net: | |
tls: | |
mode: requireTLS | |
certificateKeyFile: /etc/ssl/mongodb.pem | |
systemLog: | |
destination: file | |
path: "/var/log/mongodb/mongod.log" | |
logAppend: true | |
storage: | |
dbPath: "/var/lib/mongodb" | |
processManagement: | |
fork: true | |
net: | |
bindIp: localhost,mongodb0.example.net | |
port: 27017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment