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

Issue when updating WordPress. You will receive this error when updating WordPress.

Error: cURL error 60: SSL certificate problem: unable to get local issuer certificate. Failed to request via WordPress: cURL error 60: SSL certificate problem.

Solution:  A valid SSL Certificate needs to be installed on your domain. You  can either installed a self-signed certificate provided by your Web Hosting provider or purchase a trusted certificate from a Certificate Authority (CA).

Some webhosts like GoDaddy do not provide a free self-signed SSL certificate and might ask you to purchase a trusted SSL certificate.  If you do not have a valid SSL certificate and dont want to buy a SSL certificate or need a quick workaround to update your WordPress installation, then you can get a free SSL certificate which is provided by some websites. Here is how.

Visit https://decoder.link/csr_generator

Generate CSR, Private key and CRT. And copy each one and save it on your local computer.

Use the CSR, Private key and CRT that you get from above site and follow the SSL Certificate installation procedure as applicable to your webserver.  Instructions for installing SSL certificate on a cPanel is given here.

After installing a SSL certificate on your server/domain, you should be able to update WordPress without the cURL error.