VPS侦探论坛

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

Let's Encrypt添加ssl失败

[复制链接]
发表于 2020-1-9 11:33:50 | 显示全部楼层 |阅读模式

军哥你好,我在添加SSL证书出现以下错误
服务器:centos8
LNMP版本:1.6以下是错误信息
Add SSL Certificate (y/n) y
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
Enter 1 or 2: 2
It will be processed automatically.

Press any key to start create virtul host...

Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/none.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
/usr/bin/lnmp: line 500: /etc/init.d/php-fpm: No such file or directory
/usr/local/acme.sh/acme.sh [found]
Starting create SSL Certificate use Let's Encrypt...
[Wed Jan  8 22:31:59 EST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Wed Jan  8 22:31:59 EST 2020] Can not init api.
[Wed Jan  8 22:31:59 EST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Wed Jan  8 22:32:00 EST 2020] Can not init api.
[Wed Jan  8 22:32:00 EST 2020] Registering account
[Wed Jan  8 22:32:00 EST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Wed Jan  8 22:32:00 EST 2020] Could not get nonce, let's try again.
[Wed Jan  8 22:32:03 EST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7
[Wed Jan  8 22:32:03 EST 2020] Could not get nonce, let's try again.
[Wed Jan  8 22:32:06 EST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7



请军哥答疑解惑



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-1-9 14:07:06 | 显示全部楼层


没有具体日志没法确定,具体可以查看“反馈必读”说明
error code 7 一般都是你网络不通
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 21:28 , Processed in 0.025253 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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