Closed aetasoul closed 4 years ago
UPDATE:
I can renew my certificate now, I have done as follow:
export http_proxy=my.proxy:myPort
./renew_certificate.sh
Set http_proxy on the QNAP, after that run the renew script, I think that my provider is blocking something that don't allow acme-tiny to verify my domain.
Solved.
There are some misconfiguration made by my provider, now is fixed.
Platform/Firmware Information
Is this the latest firmware for your device? YES
Issue Summary (provide relevant error messages and log output):
Can't renew the certificate, I have other 5 device with this script installed and worked without problems...
Port 80, 443 and 8080 are open. The Web Server is stopped and removed from port 80.
LOG
``` [/share/qnap-letsencrypt/qnap-letsencrypt] # ./renew_certificate.sh Checking whether to renew certificate on Sat, 27 Jun 2020 09:20:18 +0200 Renewing certificate... qnap-letsencrypt version: f758272 Using python path: python3 Stopping Qthttpd hogging port 80.. Shutting down Qthttpd services: OK. Killing old python process 18867 hogging port 80 Started python HTTP server with pid 20254 Parsing account key... Parsing CSR... Found domains: my.custom.domain Getting directory... Directory found! Registering account... Already registered! Creating new order... Order created! Verifying my.custom.domain... Traceback (most recent call last): File "acme-tiny/acme_tiny.py", line 141, in get_crt assert (disable_check or _do_request(wellknown_url)[0] == keyauthorization) File "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://my.custom.domain/.well-known/acme-challenge/w49aVv51L-TklqqN9fk76ZekgiQsfy6kuEawK-nFsbg Data: None Response Code: None Response:Running the HTTPServer.py alone, the webpage displayed on my.custom.domain:80 report this error: