Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: cloud.siegert.nl
I ran this command: acme.sh --renew -d cloud.siegert.nl --force
It produced this output:
Create CSR error.
Please check log file for more details: /root/.acme.sh/acme.sh.log
My web server is (include version): nginx/1.20.1
The operating system my web server runs on is (include version): TrueNAS-12.0-U6.1
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): acme.sh v3.0.2
Last entries in acme.sh.log
[Sat Feb 12 12:35:51 CET 2022] Running cmd: renew
[Sat Feb 12 12:35:51 CET 2022] Using config home:/root/.acme.sh
[Sat Feb 12 12:35:51 CET 2022] default_acme_server
[Sat Feb 12 12:35:51 CET 2022] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Sat Feb 12 12:35:51 CET 2022] DOMAIN_PATH='/root/.acme.sh/cloud.siegert.nl'
[Sat Feb 12 12:35:51 CET 2022] Renew: 'cloud.siegert.nl'
[Sat Feb 12 12:35:51 CET 2022] Le_API='https://acme-v02.api.letsencrypt.org/directory'
[Sat Feb 12 12:35:51 CET 2022] Using config home:/root/.acme.sh
[Sat Feb 12 12:35:51 CET 2022] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Sat Feb 12 12:35:51 CET 2022] _main_domain='cloud.siegert.nl'
[Sat Feb 12 12:35:51 CET 2022] _alt_domains='no'
[Sat Feb 12 12:35:51 CET 2022] Le_NextRenewTime='1647731792'
[Sat Feb 12 12:35:51 CET 2022] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Sat Feb 12 12:35:51 CET 2022] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Sat Feb 12 12:35:51 CET 2022] Retrying GET
[Sat Feb 12 12:35:51 CET 2022] GET
[Sat Feb 12 12:35:51 CET 2022] url='https://acme-v02.api.letsencrypt.org/directory'
[Sat Feb 12 12:35:51 CET 2022] timeout=
[Sat Feb 12 12:35:51 CET 2022] displayError='1'
[Sat Feb 12 12:35:51 CET 2022] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L '
[Sat Feb 12 12:35:52 CET 2022] ret='0'
[Sat Feb 12 12:35:52 CET 2022] _hcode='0'
[Sat Feb 12 12:35:52 CET 2022] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
[Sat Feb 12 12:35:52 CET 2022] ACME_NEW_AUTHZ
[Sat Feb 12 12:35:52 CET 2022] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Sat Feb 12 12:35:52 CET 2022] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
[Sat Feb 12 12:35:52 CET 2022] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
[Sat Feb 12 12:35:52 CET 2022] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
[Sat Feb 12 12:35:52 CET 2022] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Sat Feb 12 12:35:52 CET 2022] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sat Feb 12 12:35:52 CET 2022] _on_before_issue
[Sat Feb 12 12:35:52 CET 2022] _chk_main_domain='cloud.siegert.nl'
[Sat Feb 12 12:35:52 CET 2022] _chk_alt_domains
[Sat Feb 12 12:35:52 CET 2022] Le_LocalAddress
[Sat Feb 12 12:35:52 CET 2022] d='cloud.siegert.nl'
[Sat Feb 12 12:35:52 CET 2022] Check for domain='cloud.siegert.nl'
[Sat Feb 12 12:35:52 CET 2022] _currentRoot='dns_nederhost'
[Sat Feb 12 12:35:52 CET 2022] d
[Sat Feb 12 12:35:52 CET 2022] _saved_account_key_hash is not changed, skip register account.
[Sat Feb 12 12:35:52 CET 2022] Read key length:
[Sat Feb 12 12:35:52 CET 2022] _createcsr
[Sat Feb 12 12:35:52 CET 2022] Single domain='cloud.siegert.nl'
[Sat Feb 12 12:35:52 CET 2022] Create CSR error.
[Sat Feb 12 12:35:52 CET 2022] pid
[Sat Feb 12 12:35:52 CET 2022] No need to restore nginx, skip.
[Sat Feb 12 12:35:52 CET 2022] _clearupdns
[Sat Feb 12 12:35:52 CET 2022] dns_entries
[Sat Feb 12 12:35:52 CET 2022] skip dns.
[Sat Feb 12 12:35:52 CET 2022] _on_issue_err
[Sat Feb 12 12:35:52 CET 2022] Please check log file for more details: /root/.acme.sh/acme.sh.log
All keys seems to be empty after renewal
drwxr-xr-x 2 root wheel 5 Nov 20 21:54 backup/
-rw-r--r-- 1 root wheel 3751 Jan 20 00:16 ca.cer
-rw-r--r-- 1 root wheel 0 Feb 12 12:31 cloud.siegert.nl.cer
-rw-r--r-- 1 root wheel 956 Feb 12 12:35 cloud.siegert.nl.conf
-rw-r--r-- 1 root wheel 964 Jan 20 00:16 cloud.siegert.nl.csr
-rw-r--r-- 1 root wheel 151 Feb 12 12:35 cloud.siegert.nl.csr.conf
-rw-r--r-- 1 root wheel 0 Feb 12 12:31 cloud.siegert.nl.key
-rw-r--r-- 1 root wheel 0 Feb 12 12:31 fullchain.cer
Restarting ngin fails:
Performing sanity check on nginx configuration:
nginx: [emerg] cannot load certificate "/root/.acme.sh/cloud.siegert.nl/fullchain.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed