Let's Encrypt Wildcard Certificate Batch Processing

user-pic
Vote 0 Votes

Let's Encrypt Wildcard Certificate 要達到自動化設定,
必需使用 Pre Validation Hooks --manual-auth-hook 參數, 自定義 Script 去設定 TXT
可以使用的變數參考 Pre and Post Validation Hooks
主要是這兩個 CERTBOT_DOMAIN 及 CERTBOT_VALIDATION, 分別是域名及需要設定的 TXT 值
--manual-cleanup-hook 則是 Post Validation Hooks, 可把先前設定的 TXT 刪除及其他事後的動作
e.g.
certbot-auto certonly --manual-public-ip-logging-ok --agree-tos -m user@mail.com --server https://acme-v02.api.letsencrypt.org/directory \
  -d domain.com -d *.domain.com --manual --manual --preferred-challenges dns-01 \
  --manual-auth-hook /usr/local/bin/auth-hook.sh --manual-cleanup-hook /usr/local/bin/cleanup-hook.sh

About this Entry

This page contains a single entry by Pank published on April 2, 2018 6:38 PM.

Let's Encrypt Wildcard Certificate was the previous entry in this blog.

MySQL Sync Table from Host A to Host B is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives