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: https://www.digitalocean.com/community/articles/how-to-use-digitalocean-as-your-provider-in-vagrant-on-an-ubuntu-12-10 https://gist.github.com/fnichol/867550
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!
Have you tried downloading <a href=“http://curl.haxx.se/ca/cacert.pem”>http://curl.haxx.se/ca/cacert.pem</a> and pointing <code>vm.ca_path</code> 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.