rmit-programming-club / network-vis

A tool to visualisation coding activity and collaboration within a Github Organisation
GNU General Public License v3.0
9 stars 2 forks source link

Windows 10 SSL certificate bug #15

Closed Louis-Stekhoven-Smith closed 7 years ago

Louis-Stekhoven-Smith commented 7 years ago

Rails has a bug in the windows environment where initiating an SSH connection with a third party API no SSL certificate is found

This fix has been added and should mean no one else has to deal with it.

But for reference this is the fix. Download cacerts.pem to some directory pref same as ruby script you are firing http://curl.haxx.se/ca/cacert.pem

Add the following to your script:

Based on fix described at: https://gist.github.com/fnichol/867550

ENV['SSL_CERT_FILE'] = File.expand_path(File.dirname(__FILE__)) + "/config/cacert.pem"
Louis-Stekhoven-Smith commented 7 years ago

Has already been resolved just adding bug for historical purposes