cURL error 60: SSL certificate problem: unable to get local issuer certificate

After installing wordpress, while trying to activate jetpack, i get this error constantly.

cURL error 60: SSL certificate problem: unable to get local issuer certificate

I think it is related to php, needing version 73. Currently, I have 72.

[root@edge certs]# php -v
PHP 7.2.11 (cli) (built: Oct  9 2018 15:09:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.11, Copyright (c) 1999-2018, by Zend Technologies
[root@edge certs]#

i tried

[root@edge certs]# yum install centos-release-scl
Last metadata expiration check: 0:27:32 ago on Sat 16 May 2020 03:58:11 PM UTC.
No match for argument: centos-release-scl
Error: Unable to find a match: centos-release-scl
[root@edge certs]#

to no avail.

I also tried copying cacert.pem into /home/USER/cacert.pem and adding curl.cainfo = "/home/edge/cacert.pem" into /home/USER/etc/php7.2/php.ini but that did not work either.

So, do I need php73 and if so, how do i get it on CentOS 8 without breaking virtualmin install/repos?

Status: 
Active

Comments

Are you getting this error in Wordpress, or in Virtualmin?

bislinks's picture
Submitted by bislinks on Sat, 05/16/2020 - 13:22 Pro Licensee

wordpress