File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ mongodb_net_http_enabled: false # Enable http interface
2525mongodb_net_ipv6 : false # Enable IPv6 support (disabled by default)
2626mongodb_net_maxconns : 65536 # Max number of simultaneous connections
2727mongodb_net_port : 27017 # Specify port number
28+ mongodb_net_ssl : disabled # Enable or disable ssl connections
29+ mongodb_net_ssl_mode : # Set the ssl mode (RequireSSL / PreferSSL / AllowSSL / disabled)
30+ mongodb_net_ssl_pemfile : # Location of the pemfile to use for ssl
2831
2932# # processManagement Options
3033# Fork server process
Original file line number Diff line number Diff line change 99 ipv6: {{ mongodb_net_ipv6 | to_nice_json }}
1010 maxIncomingConnections: {{ mongodb_net_maxconns }}
1111 port: {{ mongodb_net_port }}
12+ {% if mongodb_net_ssl_pemfile is defined and mongodb_net_ssl_mode is defined and mongodb_net_ssl == 'enabled' -%}
13+ ssl:
14+ mode: {{ mongodb_net_ssl_mode }}
15+ PEMKeyFile: {{ mongodb_net_ssl_pemfile }}.pem
16+ {% endif %}
1217
1318processManagement:
1419 fork: {{ mongodb_processmanagement_fork | to_nice_json}}
You can’t perform that action at this time.
0 commit comments