VPS侦探论坛

 找回密码
 注册
查看: 4047|回复: 4

军哥请帮忙看一下。ssl证书问题。1.4 证书创建不了。

[复制链接]
发表于 2018-5-11 14:41:58 | 显示全部楼层 |阅读模式

环境:Centos7 x64   ,之前没有任何问题。今天我lnmp vhost add 选择2(Let's Encrypt的时候)出现如下代码提示:
It will be processed automatically.
/bin/certbot [found]
Starting create SSL Certificate use Let's Encrypt...
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.
Let's Encrypt SSL Certificate create failed!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-5-11 15:05:57 | 显示全部楼层

单独执行命令安装ssl提示



/bin/certbot certonly --email admin@admin.cn --agree-tos -n --webroot -w /home/wwwroot/www.aaa.com www.aaa.com提示:

[root@host-23-9-by ~]# /bin/certbot certonly --email admin@admin.cn --agree-tos -n --webroot -w /home/wwwroot/www.AAA.com www.AAA.com
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-5-11 15:06:54 | 显示全部楼层

执行yum -y install epel-release 提示:


[root@host-23-94-245-74-by ~]# yum -y install epel-release
Loaded plugins: fastestmirror
base                                                                                                                                                                    | 3.6 kB  00:00:00     
elrepo                                                                                                                                                                  | 2.9 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                                    | 8.2 kB  00:00:00     
epel                                                                                                                                                                    | 4.7 kB  00:00:00     
extras                                                                                                                                                                  | 3.4 kB  00:00:00     
updates                                                                                                                                                                 | 3.4 kB  00:00:00     
Loading mirror speeds from cached hostfile
* base: mirrors.unifiedlayer.com
* elrepo: repos.lax-noc.com
* epel: mirrors.develooper.com
* extras: centos-distro.cavecreek.net
* updates: centos-distro.cavecreek.net


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

file is encrypted or is not a database
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2018-5-11 15:11:27 | 显示全部楼层

目测yum错误。




目测yum错误。正在处理。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-5-11 19:09:09 | 显示全部楼层

epel的源好像被禁用了

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 05:26 , Processed in 0.027183 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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