File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ mongodb_net_http_enabled: false # Enable http interface
25
25
mongodb_net_ipv6 : false # Enable IPv6 support (disabled by default)
26
26
mongodb_net_maxconns : 65536 # Max number of simultaneous connections
27
27
mongodb_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
28
31
29
32
# # processManagement Options
30
33
# Fork server process
Original file line number Diff line number Diff line change 9
9
ipv6: {{ mongodb_net_ipv6 | to_nice_json }}
10
10
maxIncomingConnections: {{ mongodb_net_maxconns }}
11
11
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 %}
12
17
13
18
processManagement:
14
19
fork: {{ mongodb_processmanagement_fork | to_nice_json}}
You can’t perform that action at this time.
0 commit comments