Skip to content

Commit

Permalink
set to require TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jan 5, 2024
1 parent d8095c3 commit e2468ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charms/mongodb/v1/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def get_mongod_args(
f"--tlsCAFile={full_conf_dir}/{TLS_EXT_CA_FILE}",
f"--tlsCertificateKeyFile={full_conf_dir}/{TLS_EXT_PEM_FILE}",
# allow non-TLS connections
"--tlsMode=preferTLS",
"--tlsMode=requireTLS",
]
)

Expand Down

0 comments on commit e2468ff

Please sign in to comment.