I am trying to make a curl request to https://www.google.com but gives this error
SSL certificate problem: unable to get local issuer certificate
the same command works with sudo ,how to solve this problem ,I can't have sudo access due to company policies.
curl -v https://www.google.com
gives
SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Please help how to fix this problem.Thanks