curl https://files.directadmin.com = curl: (60) SSL certificate problem: certificate has expired

Thanks, in my situation (centos) the following command was the solution:

yum install ca-certificates
 
0.
cat /etc/debian_version
11.5

1.
apt install ca-certificates
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20210119).


2.
mysql -V
mysql Ver 15.1 Distrib 10.1.48-MariaDB, for Linux (x86_64) using readline 5.1


3. apt install mariadb-server
Setting up mariadb-server (1:10.5.15-0+deb11u1) ...

But still
mysql -V
mysql Ver 15.1 Distrib 10.1.48-MariaDB, for Linux (x86_64) using readline 5.1


4. As I understand, DirectAdmin uses his own compilations of SW.


5. I have those in updates in CustomBuild (BTW incl curl...). And I cannot update it.

1665417129194.png
 
Curl cannot update curl...
< >
 
Try the commands in the link below. If curl doesn't work, try wget or download the .pem file on another device and upload and paste it in the correct location on your server:


Also, you should not install mariadb-server via apt-get, it conflicts with the Custombuild version.
 
1. curl -k -o /etc/ssl/certs/ISRG_Root_X1.pem https://letsencrypt.org/certs/isrgrootx1.pem
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 1939 100 1939 0 0 2859 0 --:--:-- --:--:-- --:--:-- 2859

2. apt install nss*
installed some packages

3. systemctl restart directadmin

problem with sert still here:
  • Executing /usr/local/directadmin/plugins/custombuild/admin/build curl...
  • curl: (60) SSL certificate problem: certificate has expired
  • More details here: https://curl.se/docs/sslcerts.html

How can I try to change directadmin to use wget? Could not find anything about on the forum/internet.
 
Sorry I meant use wget to retrieve the letsencrypt .pem file. But you managed to download it and it still doesn't solve your issue, so I'm not sure at this point. I think it's related to the issue in the link (your server not having the right certificate to connect to a https-site encrypted with a Let's Encrypt certificate) but it's difficult to troubleshoot further from the outside.
 
Back
Top