Open jessicana opened 1 year ago
Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade
If it's still not working, please provide the log with --debug 2
, otherwise, nobody can help you.
try with --test --debug 2
, which will show more detailed message
Steps to reproduce
I use ubuntu20.04 which is installed on a virtual machine on Synology NAS.
DNS configuration: I use Cloudflare:
1. Install acme.sh
sudo -i
sudo apt-get install git bc wget curl socat
2. Clone repo
cd /tmp/
git clone https://github.com/Neilpang/acme.sh.git
3. Install acme.sh client:
cd acme.sh/
./acme.sh --install
4. In my ~/.bashrc file, I made sure that
. "/root/.acme.sh/acme.sh.env"
is added there5. Close the terminal and reopened it.
6. Create /.well-known/acme-challenge/ directory:
sudo -i
acme.sh
cd /var/www/example.com/html
mkdir -vp ${D}/.well-known/acme-challenge/
chown -R www-data:www-data ${D}/var/www/example.com/html/.well-known/acme-challenge
chmod -R 0555 ${D}/var/www/example.com/html/.well-known/acme-challenge
7. Create a directory to store SSL certicate
mkdir -p /etc/nginx/ssl/example.com/
8. Generate your dhparams.pem file
cd etc/nginx/ssl/example.com/
openssl dhparam -out dhparams.pem 4096
9. Issue a certificate for example.com domain
acme.sh --issue -w /var/www/example.com/html/ -d example.com -d www.example.com -k 4096
From this point forward, continue with the debug file below:
Debug log
Port 80 is open:
The issue: The process never ended up with success. I never got .cer file.
The log file
As you see above,
acme.sh --upgrade
already updated.