Skip to content

Commit

Permalink
fix: wait on self-signed cert
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Feb 21, 2025
1 parent 727a5f8 commit fa346bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imageroot/pypkg/cert_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def wait_acmejson_sync(timeout=120, interval=2.1, names=[]):
if not names:
# Wait for the default certificate.
names = read_default_cert_names()
if not names:
return True # Consider as obtained, if no names are set.
elapsed = 0.0
while elapsed < timeout:
time.sleep(interval)
Expand Down

0 comments on commit fa346bf

Please sign in to comment.