Amazon S3
, using rails
and fog
.
Trying to precompile my assets with rake assets:precompile
:
message:
[WARNING] fog: followed redirect to myproject.de.s3-us-west-2.amazonaws.com, connecting to the matching region will be more performant
rake aborted!
hostname does not match the server certificate (OpenSSL::SSL::SSLError)
So there is something with OpenSSL
What I tried already:
I have already tried to config certificates in
application.rb
like this: with no success.AWS.config(:http_handler => AWS::Http::HTTPartyHandler.new(:ssl_ca_path => "/etc/ssl/certs"))
also installed
openssl
on Ubuntu 12.04 from here
Question is: How Amazon S3 deals with certificates