Any way to add a free SSL certificate on a free heroku dyno?

ⅰ亾dé卋堺 提交于 2019-12-24 07:50:36

问题


I've got a heroku free plan, which is running on a custom domain with the PointDNS add-on so it can provide nameservers for DNS provider, if that matters.

I've got the website up and running on my custom domain, on https, but the ssl certificate points to *.herokuapp.com.

I suppose I need another SSL certificate for my custom domain, but after looking around for a long while I still couldn't find anything that doesn't require a paid heroku plan.

Is it even possible to add an ssl certificate, on a free heroku plan, on a custom domain? If so, please help me out.

I'm really over my head here and my knowledge about anything-ssl or dns is very limited.


回答1:


From the PointDNS add-on doc (https://devcenter.heroku.com/articles/pointdns), I don't see how you can do this easily.

But, if you have purchased the domain (and not ddns), this should be pretty easy with cloudflare.

Setting up a Custom Domain name and FREE SSL certificate for Heroku Apps

  1. Add DNS record to point to your site and redirect to heroku.
  2. Enable the Crypto certificate, after this the certificate will be automatically distributed by Cloudflare.


来源:https://stackoverflow.com/questions/56155448/any-way-to-add-a-free-ssl-certificate-on-a-free-heroku-dyno

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!