Tag: let encrypt

Rails 5,使用加密SSL的Heroku – 配置设置时遇到问题

我正在试图弄清楚如何在heroku上使用我的rails应用程序加密。 我尝试了几个似乎旨在帮助这个过程(letsencrypt-plugin)的gem,但已经删除了那些gem推荐的所有安装步骤,因为我无法使其正常工作。 现在,我回过头来尝试理解这里列出的教程: http://collectiveidea.com/blog/archives/2016/01/12/lets-encrypt-with-a-rails-app-on-heroku/ https://medium.com/should-designers-code/how-to-set-up-ssl-with-lets-encrypt-on-heroku-for-free-266c185630db#.h9vjoxboq 我没有走远。 我正在尝试这个: https : //medium.com/should-designers-code/how-to-set-up-ssl-with-lets-encrypt-on-heroku-for-free-266c185630db#.h9vjoxboq 目前,错误消息说: Type: unauthorized Detail: The key authorization file from the server did not match this challenge [first random string.second random string] != [#{params[:id]}.ENV[“LETS_ENCRYPT_SECOND”]] To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain […]