Automate script with wildcard domains to refresh Letsencrypt certificates
Whenever my certificates are almost expired I run my script that loads domain.txt
so I don’t need to type it manually and remember all my wildcard subdomains on my VPS server. I was thinking to build a Gandi plugin, but seems an hassle, so therefor I made NodeJS script to add keys easily.
certonly: Obtain or renew a certificate, but do not install it
--agree-tos: Agree to the ACME server's Subscriber Agreement
-m: Email address for important account notifications
--manual: Obtain certificates interactively, or using shell script
hooks
--manual-public-ip-logging-ok: Auto accept IP logging
--preferred-challenges: Set challenge to DNS
--server: Manual override server for wildcards