certbot-auto免费申请Let’s Encrypt的https证书
听同事说,Let's Encrypt支持免费的通配符证书了,这是个好东西.之前弄免费证书,一直用阿里云的,一年一次,只能一个域名.这个泛域名证书虽然90天,申请一次,但是好在可以自动申请,话不多说,开工 下载 certbot mkdir /opt/certbot cd /opt/certbot wget https://dl.eff.org/certbot-auto chmod 755 certbot-auto 申请泛域名证书 ./certbot-auto certonly \ -d "*.cnrainbird.com" \ --manual \ --preferred-challenges dns-01 \ --server https://acme-v02.api.letsencrypt.org/directory Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator manual, Installer None Obtaining a new certificate Performing the following challenges: dns-01 challenge for cnrainbird.com - - - - - - - - - - -