Certificate has expired on mirror.cyberpanel.net

https://mirror.cyberpanel.net/powerdns/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s Certificate has expired.”

I went to the URL and you can see its expired.

thanks , it’s renewed now.

I’m getting the following error now:
https://mirror.cyberpanel.net/litespeed/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s Certificate issuer is not recognized.”

Firefox also complains on certificate issuer for some reason. Seems like this issuer are not in the casual trust chain.

oh yes , I didn’t configure the chain.

try now it should work , curl works on me now.

also this domain is actually no longer valid , please edit the repo file to https://cdn.cyberpanel.sh

I see server certificate chain has changed just now. Adding DigiCert root CA to the certificate chain fixed this issue. Thanks!

@qtwrk said:
also this domain is actually no longer valid , please edit the repo file to https://cdn.cyberpanel.sh

After the certificate chain was fixed, I was able to upgrade CyberPanel normal way from 1.9.1 to 1.9.4. So it was automatically replaced by the upgrade scripts. Thanks again.

Type your comment> @qtwrk said:

oh yes , I didn’t configure the chain.

try now it should work , curl works on me now.

also this domain is actually no longer valid , please edit the repo file to https://cdn.cyberpanel.sh

This is a dumb question but where is the location of it so I can edit it ?

it should be inside /etc/yum.repos.d/

Which file?

-rw-r–r-- 1 root root 1664 Sep 5 2019 CentOS-Base.repo
-rw-r–r-- 1 root root 1309 Sep 5 2019 CentOS-CR.repo
-rw-r–r-- 1 root root 649 Sep 5 2019 CentOS-Debuginfo.repo
-rw-r–r-- 1 root root 630 Sep 5 2019 CentOS-Media.repo
-rw-r–r-- 1 root root 1331 Sep 5 2019 CentOS-Sources.repo
-rw-r–r-- 1 root root 6639 Sep 5 2019 CentOS-Vault.repo
-rw-r–r-- 1 root root 314 Sep 5 2019 CentOS-fasttrack.repo
-rw-r–r-- 1 root root 261 Mar 9 20:18 MariaDB.repo
-rw-r–r-- 1 root root 357 Mar 9 20:19 copart-restic-epel-7.repo
-rw-r–r-- 1 root root 218 Mar 9 20:20 dovecot.repo
-rw-r–r-- 1 root root 1149 Sep 17 19:25 epel-testing.repo
-rw-r–r-- 1 root root 1050 Sep 17 19:25 epel.repo
-rw-r–r-- 1 root root 278 Mar 1 2012 frank.repo
-rw-r–r-- 1 root root 581 Oct 16 08:57 gf.repo
-rw-r–r-- 1 root root 1653 Mar 22 2016 gf.repo.rpmnew
-rw-r–r-- 1 root root 669 May 1 2019 ius-archive.repo
-rw-r–r-- 1 root root 669 May 1 2019 ius-testing.repo
-rw-r–r-- 1 root root 591 May 1 2019 ius.repo
-rw-r–r-- 1 root root 16784 Nov 21 17:48 litespeed-repo-1.1-1.el7.noarch.rpm
-rw-r–r-- 1 root root 1051 Mar 9 20:18 litespeed.repo
-rw-r–r-- 1 root root 166 Aug 3 2011 lux.repo
-rw-r–r-- 1 root root 560 Jun 7 2019 powerdns-auth-master.repo
-rw-r–r-- 1 root root 219 Jul 21 2014 vz.repo

grep -riF “mirror.cyberpanel.sh” /etc/yum.repos.d

it should return you the list of files you need to edit.

Never mind I got it. It was the powerdns.auth-master.repo file