It'll work, but you open yourself up to MITM attacks.  It's not
recommended by any means.



It'd be better to figure out why you're getting a hostname mismatch in
the first place.



--
Kevin





On Thu, Apr 24, 2014, at 9:41, fogaws wrote:

that’s working now, when i have use this

Excon.ssl_verify_peer = false, is there any issue with that?


On Thursday, April 24, 2014 9:55:45 AM UTC+5:30, fogaws wrote:

  I have been using this since last 2 weeks, but today i got one error
like

  hostname "[1]ec2.sa-east-1.amazonaws.com" does not match the server
certificate (OpenSSL::SSL::SSLError)

  @aws_credentials = {

  :provider => "AWS",

  :aws_access_key_id => access_key_id,

  :aws_secret_access_key => secret_access_key

  }

  line 1: conn2 = Fog::Compute.new(@aws_credentials.merge(:region =>
'sa-east-1'))

  line 2: conn2.servers.all.each do |server|

  end

  so i got that error in line 1, actually i don’t have server in this
'sa-east-1' region. but if give the region, which i have the server, it
will not give any errors.

--

You received this message because you are subscribed to the Google
Groups "ruby-fog" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to [2][email protected].

For more options, visit [3]https://groups.google.com/d/optout.

References

1. http://ec2.sa-east-1.amazonaws.com/
2. mailto:[email protected]
3. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to