Error with GeoIp2 autoupdater

Hello all,

I have a problem with GeoIP2AutoUpdater.php.
Here is the message received by mail:

ERROR [2022-02-09 08:08:16] 23177  /var/www/html/piwik/plugins/GeoIp2
/GeoIP2AutoUpdater.php(175): 
GeoIP2AutoUpdater: failed to download 'https://download.db-ip.com/free/dbip-city-lite-2022-02.mmdb.gz' to '/var/www/html/piwik/tmp/latest/DBIP-City.mmdb.gz.download': 
curl_exec: error setting certificate verify locations:
  CAfile: 1
  CApath: /etc/ssl/certs. Hostname requested was: download.db-ip.com [Query: , CLI mode: 1]

And i got an error in the system verification, maybe it’s related ?

Unable to execute check for https://matomo.domain.tld/config/config.ini.php: 
curl_exec: error setting certificate verify locations: CAfile: 1 
CApath: /etc/ssl/certs. Hostname requested was: matomo.domain.tld 

So i need to understand what’s going on, and how to solve it.

Thx by advance for any kind of help.

Problem solved after deleting custom_cacert_pem = 1 from config.ini.

1 Like

That makes sense as that option expects a path to the custom file.