Skip to content

Catch renew errors & Delete certs #173

@prionkor

Description

@prionkor

We have a white labeled part in our app where we provide le ssl for our users. However in few cases users changes their domain or no longer using our app in those cases attempt to renew domain fails. Here is a related log:

Processing login.example.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Apr  1 12:40:01 2019 GMT (Less than 30 days). Renewing!
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting authorization for login.example.com...
 + 1 pending challenge(s)
 + Deploying challenge tokens...
 + Responding to challenge for login.example.com authorization...
Invalid challenge: DOMAIN=login.example.com RESPONSE={
  "type": "http-01",
  "status": "invalid",
  "error": {
    "type": "urn:acme:error:connection",
    "detail": "dns :: DNS problem: NXDOMAIN looking up A for login.example.com",
    "status": 400
  },
  "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/-UWJLolllllllllllllllllll/14288788129",
  "token": "-GgMs_L_llllllllllllllloTb6fw1CKKZoic"
}

Is it possible to perhaps cache these errors and remove these domains certs from the directory so the auto ssl doesn't attempt to renew them again?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions