curl | sh

Then you can find ~/

If you can't access curl: (7) Failed connect to; Connection

You need figure out the ip address your self by:

The Best IP Address, Email and Networking Tools -
You get the best results with’s IP Address Lookup, WHOIS, Email Tracing, Networking Tools and much more!

And add ip to your hosts:

vi /etc/hosts

Get your secret becore your installation

Find it from you dns provider

export Ali_Key="**********"
export Ali_Secret="**********" --issue --dns dns_ali -d -d *
A pure Unix shell script implementing ACME client protocol - acmesh-official/

Install cert to nginx

mkdir /etc/nginx/ssl --installcert -d \
             --keypath       /etc/nginx/ssl/  \
             --fullchainpath /etc/nginx/ssl/ \
             --reloadcmd     "systemctl restart nginx"

Generate dhparam.pem

It will take some time

openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048

Update your nginx config

ssl_certificate     /etc/nginx/ssl/; 
ssl_certificate_key /etc/nginx/ssl/;

then reload your nginx

systemctl restart nginx

Now, you can verify your site:

Finally, you should update certs in every 3 months, it's simple --upgrade --auto-upgrade

Renew the cert after 60 days

./ --renew -d -d *