VPS侦探论坛

 找回密码
 注册
查看: 3203|回复: 1

lnmp1.4 ssl出现错误!!!

[复制链接]
发表于 2017-6-16 23:32:57 | 显示全部楼层 |阅读模式

Complete!
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
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for rain.saisuo2006.com
Using the webroot path /home᮷wwroot/rainknowfirst for all unmatched domains.
Cleaning up challenges
Encountered exception during recovery
'ascii' codec can't decode byte 0xe3 in position 5: ordinal not in range(128)
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/error_handler.py", line 99, in _call_registered
    self.funcs[-1]()
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/auth_handler.py", line 284, in _cleanup_challenges
    self.auth.cleanup(achalls)
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/plugins/webroot.py", line 220, in cleanup
    validation_path = self._get_validation_path(root_path, achall)
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/plugins/webroot.py", line 194, in _get_validation_path
    return os.path.join(root_path, achall.chall.encode("token"))
  File "/root/.local/share/letsencrypt/lib64/python2.6/posixpath.py", line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 5: ordinal not in range(128)
An unexpected error occurred:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 5: ordinal not in range(128)
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:
- Your account credentials have been saved in your Certbot
   configuration directory at /etc/letsencrypt. You should make a
   secure backup of this folder now. This configuration directory will
   also contain certificates and private keys obtained by Certbot so
   making regular backups of this folder is ideal.
Let's Encrypt SSL Certificate create failed!


执行 lnmp vhost add 添加 ssl 选 letsencrypt 时到最后出现错误了。好像是 编码问题,但不知道怎么处理?用 lnmp ssl add 重新安装了一遍,貌似成功了。但是证书和key 不知道在哪个目录?



[ 本帖最后由 linda89757 于 2017-6-17 00:02 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-6-17 08:59:33 | 显示全部楼层


是编码问题
证书都在/etc/letsencrypt/live/域名/ 目录下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 23:25 , Processed in 0.025105 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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