CA error when using terraform

I have been able to use terraform and created modules successfully. When I was testing I get the following error
terraform plan
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.

Enter a value: us-east-1

Error: error configuring Terraform AWS Provider: Error creating AWS session: LoadCustomCABundleError: failed to open custom CA bundle PEM file
caused by: open certstore.cer: The system cannot find the file specified

My .aws have a valid cert installed. Any help on this ?