Security: April 2018 Archives

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 Archive

This page is an archive of entries in the Security category from April 2018.

Security: March 2018 is the previous archive.

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

Monthly Archives