Issues with OSX + Terraform

While running a TF init / plan/ Apply i receive the following error:

Registry service unreachable.

This may indicate a network issue, or an issue with the requested Terraform Registry.

Error: registry service is unreachable, check for status updates

I have run in debug, and I can curl:
curl -O
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 62 100 62 0 0 427 0 --:–:-- --:–:-- --:–:-- 427

I have also tried this:
export CURL_CA_BUNDLE=/certs/output.crt

It seems to be something with my certs / CA Bundle and Terraform but i cant figure it out.


Found this link:

My cert was set to default, changed it to “Always trust” and it works without an issue.