Issue Summary
Hi,
I get the error message “cURL Error #:SSL certificate problem: unable to get local issuer certificate”
when trying to connect to an API.(see screen copy)
The API works well when tested through Insomnia, so it is correct.
I have trusted test.local.crt (see screen copy
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular?
All -
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
YES
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
==> start the site named test
==> a shortcode is running an API Get request to connect to an https website
==> notice that the php function is correct (copy/paste from Insomnia and tested with Insomnia)
==> the return of the request displays the cURL error on the screen
System Details
-
Which version of Local is being used?
5.10.3 -
What Operating System (OS) and OS version is being used?
- Windows 10 Personal
-
Attach the Local Log. See this Community Forum post for instructions on how to do so: