当前位置:论坛首页 > Linux面板 > 求助

Let's Encrypt证书获取失败

发表在 Linux面板2017-11-29 08:30 [复制链接] 2 1820

系统版本ubuntu16服务器:阿里云dns:cloudxns错误提示:Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
Get:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease [102 kB]
Get:4 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Sources [284 kB]
Get:5 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Sources [184 kB]
Get:6 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 Packages [668 kB]
Get:7 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main i386 Packages [631 kB]
Get:8 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Translation-en [279 kB]
Get:9 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe amd64 Packages [559 kB]
Get:10 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe i386 Packages [527 kB]
Get:11 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Translation-en [227 kB]
Get:12 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Sources [103 kB]
Get:13 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main amd64 Packages [396 kB]
Get:14 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main i386 Packages [365 kB]
Get:15 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Translation-en [174 kB]
Get:16 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe amd64 Packages [183 kB]
Get:17 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe i386 Packages [157 kB]
Fetched 4,941 kB in 1s (3,741 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:5.3.1-1ubuntu1).
libffi-dev is already the newest version (3.2.1-4).
python is already the newest version (2.7.11-1).
python-dev is already the newest version (2.7.11-1).
augeas-lenses is already the newest version (1.4.0-0ubuntu1.1).
ca-certificates is already the newest version (20170717~16.04.1).
libaugeas0 is already the newest version (1.4.0-0ubuntu1.1).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.9).
openssl is already the newest version (1.0.2g-1ubuntu4.9).
python-virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded.
Creating virtual environment...
Installing Python packages...
Installation succeeded.
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/www.otakus.io/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/www.otakus.io/privkey.pem
Your cert will expire on 2018-02-26. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew *all* of your certificates, run
"certbot-auto renew"
- 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.
- If you like Certbot, please consider supporting our work by:

Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.otakus.io
Using the webroot path /www/wwwroot/otakus.io for all unmatched domains.
Waiting for verification...
Cleaning up challenges




使用道具 举报 只看该作者 回复
发表于 2017-11-29 09:34:33 | 显示全部楼层
检查下/etc/letsencrypt/live/www.otakus.io/这个目录是否存在证书
如果是的话就手动把证书填进去
可能是ubuntu/debian的兼容性问题导致
使用道具 举报 回复 支持 反对
发表于 2017-12-2 17:26:07 | 显示全部楼层
我也遇到这个问题了
/etc目录下没有letsencrypt这个目录
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

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