diff --git a/src/events/tls.py b/src/events/tls.py index 1ec3b734..f825bb89 100644 --- a/src/events/tls.py +++ b/src/events/tls.py @@ -140,7 +140,7 @@ def _trusted_relation_created(self, event: EventBase) -> None: if not self.charm.state.cluster.mtls_enabled: # Create a "mtls" flag so a new listener (CLIENT_SSL) is created self.charm.state.cluster.update({"mtls": "enabled"}) - self.charm.on[f"{self.charm.restart.name}"].acquire_lock.emit() + self.charm.on.config_changed.emit() self.charm.app.status = ActiveStatus()