ljwTiey

官网:https://certbot.eff.org/

下载:

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto certonly  -d  *.xxxxx.com --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory

完成后存储路径:/etc/letsencrypt

配置nginx:

ssl_certificate /etc/letsencrypt/live/xxx.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xxx.com/privkey.pem;

分类:

技术点:

相关文章:

  • 2021-12-02
  • 2021-09-06
  • 2022-12-23
  • 2021-11-28
  • 2021-11-01
  • 2021-05-07
  • 2022-01-02
猜你喜欢
  • 2021-11-12
  • 2022-12-23
  • 2022-01-02
  • 2021-12-25
  • 2021-12-12
  • 2021-12-25
  • 2021-12-06
相关资源
相似解决方案