Skip to content
Snippets Groups Projects
Commit a1342228 authored by Hannes Feldt's avatar Hannes Feldt
Browse files

test

parent 13c14a89
No related branches found
No related tags found
1 merge request!4L2SS-2098: Fix various issues happening during renewal
Pipeline #103999 passed with warnings
Pipeline: Cryptocoryne

#104000

    ...@@ -38,13 +38,15 @@ def main(): ...@@ -38,13 +38,15 @@ def main():
    if client.check_dns_propagation(timeout=1200): if client.check_dns_propagation(timeout=1200):
    print("Succeed. Request certificate") print("Succeed. Request certificate")
    client.request_certificate() client.request_certificate()
    print("Request done")
    certificate.fullchain = client.certificate.decode() certificate.fullchain = client.certificate.decode()
    print(f"Certificate {certificate}")
    vault_store.put_certificate(certificate) vault_store.put_certificate(certificate)
    print("Done") print("Done")
    else: else:
    print("Failed to issue certificate for " + str(client.domains)) print("Failed to issue certificate for " + str(client.domains))
    except Exception as e: # pylint: disable=broad-exception-caught except Exception as e: # pylint: disable=broad-exception-caught
    print(e) print(f"Exception: {e}")
    finally: finally:
    dns_client.cleanup() dns_client.cleanup()
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment