VPS侦探论坛

 找回密码
 注册
查看: 3575|回复: 5

如何部署Let's Encrypt

[复制链接]
发表于 2016-10-30 19:30:11 | 显示全部楼层 |阅读模式

军哥,

  您好!请教一下如何部署Let's Encrypt的详细步骤,包括如何续签?

谢谢!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-10-31 09:39:06 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-10-31 12:09:46 | 显示全部楼层

回复 2# 的帖子


军哥,我网站部署好https后用/root/certbot-auto renew 这个命令怎么无法续期啊?


[root@···~]# /root/certbot-auto renew
Upgrading certbot-auto 0.8.1 to 0.9.3...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
  DeprecationWarning
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/www.xxx.com.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Attempting to renew cert from /etc/letsencrypt/renewal/www.xxx.com.conf produced an unexpected error: urn:acme:error:serverInternal :: The server experienced an internal error :: Error creating new authz. Skipping.

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.xxx.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-10-31 14:02:23 | 显示全部楼层

回复 3# 的帖子




没遇到过不大清楚
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-11-1 15:47:17 | 显示全部楼层

回复 2# 的帖子


军哥,
  刚开始学习,还不是很懂,和你确认一下啊:

1.安装:
wget https://dl.eff.org/certbot-auto
chmod a+x ./certbot-auto
./certbot-auto --help all
=》这个是在其官网查到的,是否直接这样可以了?

2.生成证书的操作是怎么样的呢?

3.续签和设置自动续签的操作是?

请军哥明示,谢谢!!!

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-11-1 20:28:25 | 显示全部楼层

回复 5# 的帖子


最开始的./certbot-auto 只是用来安装依赖包的后面参数无所谓,也可以直接跳到生成证书的步骤

2楼都已经发过教程了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 17:48 , Processed in 0.026733 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表