Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Excon is now by default verifying HTTPS connections with certificates an... #769

Closed
wants to merge 1 commit into from

2 participants

Ladislav Martincik Wesley Beary
Ladislav Martincik

...d it's failing on our site for AWS. Don't know where to add this so I'm using general place fog.rb. Hope you can make sense of this. If not write me back and I'll give u more info. Thank you

Ladislav Martincik martincik Excon is now by default verifying HTTPS connections with certificates…
… and it's failing on our site for AWS. Don't know where to add this so I'm using general place fog.rb. Hope you can make sense of this. If not write me back and I'll give u more info. Thank you
7a3e591
Wesley Beary
Owner

You should be able to add this to your own code before making fog calls in order to override this behavior. I believe that in general the default should remain as it is, as defaulting to the more secure version is generally the better choice I think. So if you include the line here in your own code you should be good to go. Thanks!

Wesley Beary geemus closed this
Ladislav Martincik

Good point. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2012
  1. Ladislav Martincik

    Excon is now by default verifying HTTPS connections with certificates…

    martincik authored
    … and it's failing on our site for AWS. Don't know where to add this so I'm using general place fog.rb. Hope you can make sense of this. If not write me back and I'll give u more info. Thank you
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/fog.rb
3  lib/fog.rb
View
@@ -8,6 +8,9 @@ module Fog
end
+# Skip verification of SSL peer
+Excon.ssl_verify_peer = false
+
# FIXME: these should go away (force usage of Fog::[Compute, CDN, DNS, Storage] etc)
require 'fog/providers'
require 'fog/terremark'
Something went wrong with that request. Please try again.