您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
446B

  1. #!/bin/sh
  2. # https://community.letsencrypt.org/t/renew-incorrect-validation-certificate-for-tls-sni-01-challenge/64865/2
  3. #certbot renew --tls-sni-01-port=8888
  4. certbot renew --preferred-challenges http
  5. for _URL in `ls /etc/letsencrypt/live`; do
  6. cat /etc/letsencrypt/live/${_URL}/fullchain.pem \
  7. /etc/letsencrypt/live/${_URL}/privkey.pem \
  8. > /etc/letsencrypt/haproxy/${_URL}.pem;
  9. done;
  10. # Reload HAProxy
  11. service haproxy reload