Yannik / qnap-letsencrypt

Let's Encrypt on QNAP
318 stars 59 forks source link

Unable to renew certificate #115

Closed Muyz closed 2 years ago

Muyz commented 2 years ago

During a first run, I get errors shown below.

Checking whether to renew certificate on Wed, 22 Dec 2021 02:16:27 +0100 Renewing certificate... qnap-letsencrypt version: 452dc7d Using python path: /opt/QPython39/bin/python3 Stopping Qthttpd hogging port 80.. Shutting down Qthttpd services: OK. Started python HTTP server with pid 19921 Parsing account key... Parsing CSR... Found domains: Getting directory... Directory found! Registering account... Already registered! Account ID: https://acme-v02.api.letsencrypt.org/acme/acct/........ Creating new order... Order created! Verifying ... Traceback (most recent call last): File "/share/CACHEDEV1_DATA/homes/admin/qnapletsencrypt/qnap-letsencrypt/acme-tiny/acme_tiny.py", line 145, in get_crt assert (disable_check or _do_request(wellknown_url)[0] == keyauthorization) File "/share/CACHEDEV1_DATA/homes/admin/qnapletsencrypt/qnap-letsencrypt/acme-tiny/acme_tiny.py", line 46, in _do_request raise ValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg, url, data, code, resp_data)) ValueError: Error: Url: http:///.well-known/acme-challenge/ Data: None Response Code: 404 Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">