简体   繁体   English

带有Lets Encrypt的Heroku-无法破解插件

[英]Heroku with Lets Encrypt - can't rake the plugin

I'm trying to set up Lets Encrypt SSL with my Rails 5 app. 我正在尝试使用我的Rails 5应用程序设置Lets Encrypt SSL。

I've finished the installation instructions for this gem: https://github.com/lgromanowski/letsencrypt-plugin/wiki/Installation-guide 我已经完成了该gem的安装说明: https : //github.com/lgromanowski/letsencrypt-plugin/wiki/Installation-guide

And now I'm trying to do this step: 现在,我正在尝试执行此步骤:

heroku run rake letsencrypt_plugin

I get this error: 我收到此错误:

rake aborted!
Acme::Client::Error::Malformed: Invalid character in DNS name

I don't know what this means or how to fix it. 我不知道这意味着什么或如何解决。 Has anyone sorted out Lets Encrypt SSL using this gem for heroku? 有没有人使用这个用于heroku的gem整理出Lets Encrypt SSL?

I've tried several other let's encrypt tutorials and am not getting anywhere. 我尝试了其他几个让我们加密教程的方法,但没有成功。 I want to try to sort this out using this gem if I can. 如果可以的话,我想尝试使用此gem进行整理。

I've received that error before. 我以前收到过这个错误。 I had to change the domain name from https://example.com to example.com. 我必须将域名从https://example.com更改为example.com。 I believe that was because the '/' in the first url was considered an unacceptable character. 我认为这是因为第一个URL中的'/'被认为是不可接受的字符。 I can't help you with Ruby though, but maybe you can find something similar in your code. 虽然我不能帮助您使用Ruby,但是也许您可以在代码中找到类似的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM