Skip to content

Commit

Permalink
remove tlsAllowInvalidCertificates option
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jan 4, 2024
1 parent 4b2e669 commit 64edd18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/charms/mongodb/v1/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 1
LIBPATCH = 2

# path to store mongodb ketFile
KEY_FILE = "keyFile"
Expand Down Expand Up @@ -172,7 +172,6 @@ def get_mongod_args(
cmd.extend(
[
"--clusterAuthMode=x509",
"--tlsAllowInvalidCertificates",
f"--tlsClusterCAFile={full_conf_dir}/{TLS_INT_CA_FILE}",
f"--tlsClusterFile={full_conf_dir}/{TLS_INT_PEM_FILE}",
]
Expand Down

0 comments on commit 64edd18

Please sign in to comment.