Skip to content

Commit

Permalink
Emit warning if multiple CAs are configured
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 17, 2024
1 parent 705b0ce commit 297c8f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nodeman/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def __init__(self, settings: Settings):

self.ca_client: CertificateAuthorityClient | None

if self.settings.internal_ca and self.settings.step:
self.logger.warning("Multiple CAs configured, using internal CA")

if self.settings.internal_ca:
self.ca_client = self.get_internal_ca_client(self.settings.internal_ca)
elif self.settings.step:
Expand Down

0 comments on commit 297c8f1

Please sign in to comment.