-
Notifications
You must be signed in to change notification settings - Fork 64
Create auto renewal SSL certificate
trinib edited this page Apr 26, 2022
·
10 revisions
A free SSL certificate
An ACME Shell script - A pure Unix shell script implementing ACME client protocol
Install script:
curl https://get.acme.sh | sh -s [email protected]
IMPORANT:After the installation, you must close the current terminal and reopen it to make the alias take effect.
Using DNS alias mode for validation from a DNS API access.(Using Dynu domain)
Get Dynu API credentials from your Dynu account:
Export clientId and secret :
export Dynu_ClientId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export Dynu_Secret=yyyyyyyyyyyyyyyyyyyyyyyyy
acme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server zerossl
acme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server letsencrypt
or
For Letsencrypt.org production server:
acme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server letsencrypt --preferred-chain "ISRG"
For letsencrypt.org staging server:
acme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server letsencrypt --preferred-chain "(STAGING) Pretend Pear X1"
Go to AdGuard Home admin panel encryption settings:
-
Enter server name
-
Check redirect to HTTPS automatically
-
Set certificate file path
-
Set certificate private key file


