URL cron command fail via Webmin

1 post / 0 new
#1 Sun, 11/18/2018 - 05:09

URL cron command fail via Webmin

Hello to all,

When I use via a web navigator a URL to command a regular action on a site, it works well. The site use CiviCRM. The URL command is like : "https://SITE-URL/sites/all/modules/civicrm/bin/cron.php?name=LOGIN&pass=..." But if I set a cron via Webmin the command fail.

Here is the Webmin line : /usr/bin/wget -O --q -t 1 "https://SITE-URL/sites/all/modules/civicrm/bin/cron.php?name=LOGIN&pass=..." The command line was provided by CiviCRM documentation. It used to work well until recently. But now there is an error :

ERROR: The certificate of 'SITE-URL' is not trusted. ERROR: The certificate of 'SITE-URL' hasn't got a known issuer.

So the direct command via a web navigator works, but the same command via the Webmin cron fails…

Webmin and the Site are on the same server. How can correct the cron line in Webmin ? Could it be a wrong setting on the SSLCertificateFile for the site ? Webmin and the site are on the same server.