xvarnish ssl problem at easy apache 4 page

jimtrouble

Member
Jan 6, 2019
5
0
1
Greece
cPanel Access Level
Root Administrator
Hello.

When I navigate to Easy Apache 4 page I get the following error:
YUM encountered errors outside of EasyApache 4. Log into the system via SSH to resolve them, or you can click the ‘Refresh’ button to rebuild the system‘s YUM cache.

I tried the 2 commands for here: https://docs.cpanel.net/ea4/basics/yellowdog-updater-modified-yum-basics/

But at the terminal I get:


Code:
https://repo.xvarnish.com/yum/stable/el7/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate has expired."
Trying other mirror.
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
You can try to solve this issue by using the instructions on https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

https://repo.xvarnish.com/yum/release/el7/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate has expired."
Trying other mirror.


One of the configured repositories failed (xVarnish Release),
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=xvarnish-release ...

     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 xvarnish-release
        or
            subscription-manager repos --disable=xvarnish-release

     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=xvarnish-release.skip_if_unavailable=true

failure: repodata/repomd.xml from xvarnish-release: [Errno 256] No more mirrors to try.
https://repo.xvarnish.com/yum/release/el7/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate has expired."
Any ideas on how to solve this?
Thank you
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
This issue is not related to EasyApache 4 it is related to xvarnish. Their repository has an issue with its SSL certificate. This is evidenced by the fact that their SSL is missing here as well: https://repo.xvarnish.com/

The certificate expired over a month ago:
Expired: Thursday, May 14, 2020, at 10:30:02 AM Pacific Daylight Time
 

jimtrouble

Member
Jan 6, 2019
5
0
1
Greece
cPanel Access Level
Root Administrator
It says:

Cachewall
If you are receiving errors with the WHM\cPanel interfaces please run the below command to update:

yum update cachewall --enablerepo=cachewall-development

so if I run that it will fix the problem?

Thanks