使用 Let’s Encrypt 加密网站


刚翻译了一篇 SSL 的文章,就发现了用 let’s encrypt 的证书炒鸡方便 Orz

安装

certbot.eff.org 选择合适的 web server 和操作系统。输入给出的指令,揍是这么简单!

注意,如果是 Apache & CentOS7 (CentOS/RHEL 7),在运行 yum install python-certbot-apache 之前先安装一些依赖:

yum install epel-release mod_ssl
  • epel-release: EPEL repository
  • mod_ssl: Apache SSL 支持模块

否则会出现错误:

Failed to connect to X.X.X.X:443 for TLS-SNI-01 challenge


发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注