This is a curl issue related with cacert.pem to fix this issue please download the latest cacert.pem from the website https://curl.haxx.se/docs/caextract.html
# curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem # cp cacert.pem /etc/ssl/certs/
You need to restart your apache or nginx webserver too.