1

I have a subdomain of my site pointed to a rails app at mysite.herokuapp.com. I bought a certificate from godaddy and seem to have that all set up correctly. So that when I go to:

http://mysite.herokuapp.com or
http://dev.mysite.com

it's redirected to:

https://mysite.herokuapp.com or
https://dev.mysite.com

The problem is that when I visit dev.mysite.com, I get the error: Safari can't verify the identity of the website. But when I go to mysite.herokuapp.com, I don't get the error. I wanted this to be set up the other way, so that dev.mysite.com did not cause the error.

I'm not sure where I went wrong. I used dev.mysite.com when generating the key and when setting it up at godaddy.com. Any ideas where I should look?

P.S. The old site is hosted at dreamhost and the DNS info is stored there as well. So I created a subdomain there of type cname which points to mysite.herokuapp.com.

Kevin K
  • 183
  • 1
  • 1
  • 4

1 Answers1

2

You need to install your SSL certificate at Heroku.

The very abbreviated process is:

heroku addons:add ssl
heroku certs:add server.crt server.key
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
  • Ty for the response. I did that as well. The https serving is working at Heroku, just for the wrong domain. – Kevin K Oct 11 '12 at 02:33
  • If you already did that, you should [contact Heroku](https://devcenter.heroku.com/articles/support-channels) for further assistance. – Michael Hampton Oct 11 '12 at 02:33