-
Notifications
You must be signed in to change notification settings - Fork 64
Create auto renewal SSL certificate
☣┌͜∩͜┐͜(͜◣͜_͜◢͜)͜┌͜∩͜┐☣ edited this page Feb 21, 2024
·
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]Important
After the installation, you must close the current terminal and reopen it to make the alias take effect.
Enable auto upgrade:
acme.sh --upgrade --auto-upgradeDisable auto upgrade:
acme.sh --upgrade --auto-upgrade 0Using DNS api access from Dynu to add the txt record to issue and renew a certificate
Get Dynu API credentials from your Dynu account:
Export ClientId and Secret :
export Dynu_ClientId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export Dynu_Secret=yyyyyyyyyyyyyyyyyyyyyyyyyacme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server zerosslacme.sh --issue --dns dns_dynu -d YOUR-DOMAIN --server letsencryptor
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
Export credentials:
export FREEDNS_User="yourusername"
export FREEDNS_Password="yourpassword"Issue certificate:
acme.sh --issue --dns dns_freedns -d YOUR-DOMAIN --server CERTExport credentials:
export DuckDNS_Token="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"Issue certificate:
acme.sh --issue --dns dns_duckdns -d YOUR-DOMAIN --server CERT

