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

Issue 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:

Generate CSR, Private key and CRT using this website – https://decoder.link/csr_generator

Use the CSR, Private key and CRT that you get from in the Godaddy cpanel.