Certificate error on vagrant provision

January 2, 2014 2.1k views
I keep getting this error when trying to provision a dropplet: The secure connection to the Digital Ocean API has failed. Please ensure that your local certificates directory is defined in the provider config. config.vm.provider :digital_ocean do |vm| vm.ca_path = "/path/to/ssl/ca/cert.crt" end This is generally caused by the OpenSSL configuration associated with the Ruby install being unaware of the system specific ca certs. I've already tried these solutions, but none seem to work:
2 Answers
Have you tried downloading and pointing vm.ca_path to it?
Yes, tried but failed. If I echo out the SSL_CERT_FILE variable it gives me the correct location, but still won't work.
Have another answer? Share your knowledge.