ok thanks, actually i am trying to getting servers from all regions via 
iterate from this regions 
["ap-northeast-1","ap-southeast-1","ap-southeast-2","eu-west-1","sa-east-1","us-east-1","us-west-1","us-west-2"].
 
so i append each one of these regions into *region:* attribute in fog 
object. so is there any issues with that regions list?

On Thursday, April 24, 2014 8:25:19 PM UTC+5:30, Kevin Menard wrote:
>
> 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 "ec2.sa-east-1.amazonaws.com 
> <http://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 [email protected] <javascript:>.
>  For more options, visit 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