军哥请帮忙看一下。ssl证书问题。1.4 证书创建不了。
环境:Centos7 x64 ,之前没有任何问题。今天我lnmp vhost add 选择2(Let's Encrypt的时候)出现如下代码提示:It will be processed automatically.
/bin/certbot
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!
单独执行命令安装ssl提示
/bin/certbot certonly --email admin@admin.cn --agree-tos -n --webroot -w /home/wwwroot/www.aaa.com www.aaa.com提示:# /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.
执行yum -y install epel-release 提示:
# yum -y install epel-releaseLoaded plugins: fastestmirror
base | 3.6 kB00:00:00
elrepo | 2.9 kB00:00:00
epel/x86_64/metalink | 8.2 kB00:00:00
epel | 4.7 kB00:00:00
extras | 3.4 kB00:00:00
updates | 3.4 kB00: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
目测yum错误。
目测yum错误。正在处理。 epel的源好像被禁用了
页:
[1]