ruse.jp / Articles

acme.sh+Gandi.net LiveDNSで自動でDNS-01 Challengeを実行するコマンド

あらかじめhttps://account.gandi.net/ja→「セキュリティ」→「LiveDNSのAPIキー」でAPIキーを取得しておく

export GANDI_LIVEDNS_KEY="取得したキー"
acme.sh --issue --force --dns dns_gandi_livedns -d '*.domain.tld'

これでacme.shが自動的にTXTレコードを追加して更新してくれるようになる。