Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

https gives ssl error #107

Open
taktran opened this issue Jul 9, 2013 · 6 comments
Open

https gives ssl error #107

taktran opened this issue Jul 9, 2013 · 6 comments
Labels

Comments

@taktran
Copy link
Contributor

taktran commented Jul 9, 2013

To replicate, go to: https://pebblecode.com/

@taktran
Copy link
Contributor Author

taktran commented Jul 9, 2013

It seems like this can't be fixed in the code, it's a heroku issue:

Subdomain redirection will cause a browser error when the root domain is requested over SSL (i.e. https://example.com).

https://devcenter.heroku.com/articles/apex-domains
Also, http://stackoverflow.com/questions/6701549/heroku-ssl-on-root-domain

So either, we

  1. Purchase an SSL certificate (which is what the stackoverflow post does)
  2. Redirect all traffic to www.pebblecode.com

I might do the 2nd (seeing as we don't use https for anything on the site), if no one objects.

@svnlto
Copy link

svnlto commented Jul 9, 2013

2 👍

@taktran
Copy link
Contributor Author

taktran commented Jul 9, 2013

Have updated DNS with:

ALIAS   www.pebblecode.com   60     pebblecode.herokuapp.com

instead of the previous redirect to pebblecode.com. Will wait for this to propagate, before making pebblecode.com redirect to www.pebblecode.com.

taktran added a commit that referenced this issue Jul 9, 2013
@taktran
Copy link
Contributor Author

taktran commented Jul 10, 2013

That didn't seem to work. Not sure if it's a DNS or heroku issue - have posted on stackoverflow about it: http://stackoverflow.com/questions/17565542/how-do-i-redirect-all-https-traffic-to-http-in-sinatra-on-heroku

@taktran
Copy link
Contributor Author

taktran commented Jul 10, 2013

I have noticed that a few other sites have the same issue:

https://travis.org/
https://www.guardian.co.uk/
https://gruntjs.com/

@taktran
Copy link
Contributor Author

taktran commented Jul 10, 2013

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants