将SSL添加到Heroku应用和Godaddy-Rails [英] Add SSL to Heroku app and godaddy - Rails

查看:72
本文介绍了将SSL添加到Heroku应用和Godaddy-Rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用heroku和godaddy设置SSL证书.我已经用LetsEncrypt成功创建了一个证书,并且已经收到此消息

I'm trying to setup SSL certs with heroku and godaddy. I've successfully created a cert with LetsEncrypt, and have received this message

Your certificate has been added successfully.  Update your application's DNS settings as follows
Domain                   Record Type  DNS Target
───────────────────────  ───────────  ─────────────────────────────────────
secure.lockdownjobs.com  CNAME        secure.lockdownjobs.com.herokudns.com
www.lockdownjobs.com     CNAME        www.lockdownjobs.com.herokudns.com

我正在苦苦挣扎的部分是DNS Target如何在Godaddy中将域名指向DNS目标?

The part I'm struggling with is DNS Target how in godaddy do I point the domain at the DNS target?

推荐答案

只需在Godaddy中添加CNAME.转到您的域,单击"DNS文件"设置并添加一个新的CNAME:

Just add the CNAME in Godaddy. Go to your domain, click on DNS File settings and add a new CNAME:

CNAME
www
Target
secure.lockdownjobs.com.herokudns.com

我建议您阅读有关如何将SSL证书添加到Heroku的信息: https://devcenter.heroku.com/articles/ssl-endpoint#setting-up-ssl-on-heroku

I recommend you read about how to add SSL certificate to Heroku: https://devcenter.heroku.com/articles/ssl-endpoint#setting-up-ssl-on-heroku

还有更简单的方法(让Heroku做到): https://devcenter.heroku.com/articles/automated-certificate-management

And also the much easier way of doing it (Let Heroku do it): https://devcenter.heroku.com/articles/automated-certificate-management

这篇关于将SSL添加到Heroku应用和Godaddy-Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆