I am trying to check an API with curl command and I am getting the below;
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.
I tried to install the cacert.pam as stated by the webpage above however no luck. Is there anything else I can do to fix this issue?
thank you Stavros
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
You can add the -k switch/attribute somewhere before the url. For example
Please note you’ll need to replace https://example.com/path/to/url with the actual URL you want to access. If you need more information, you can check the manual for curl
If you get to the
-kattribute you’ll see something like
See this online resource for further details: https://curl.haxx.se/docs/sslcerts.html
You can also the --proxy-insecure and --cacert attributes.