Skip to content

Commit

Permalink
Fix ssl-ca decode error
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon authored and DnPlas committed Aug 3, 2022
1 parent 3859a66 commit db13a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _get_ssl_secret(self):
"PUBLIC_CRT": self.model.config["ssl-cert"],
}
if self.model.config["ssl-ca"] != "":
data["ROOT_CERT"] = b64decode(self.model.config["ssl-ca"])
data["ROOT_CERT"] = self.model.config["ssl-ca"]
return {
"name": "minio-ssl",
"type": "Opaque",
Expand Down

0 comments on commit db13a9e

Please sign in to comment.