If you get this error while installing/updating a theme or a plugin, download this file and follow the steps below.
- In your FTP server, go to wp-includes/certificates/HERE
- Rename the current ca-bundle.crt to OLD_ca-bundle.crt
- Rename the downloaded file cacert.pem.txt to ca-bundle.crt
- Upload ca-bundle.crt to wp-includes/certificates/HERE