< p >
Amazon S3
, 使用rails
和fog
。
尝试使用rake assets:precompile
预编译我的资源:
信息:
[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)
所以 OpenSSL 有些问题。
我已经尝试了以下措施:
我已经在
application.rb
中尝试配置证书,就像这样:但没有成功。AWS.config(:http_handler => AWS::Http::HTTPartyHandler.new(:ssl_ca_path => "/etc/ssl/certs"))
还从此处在 Ubuntu 12.04 上安装了
openssl
问题是:Amazon S3 如何处理证书