Closed
Bug 1342983
Opened 9 years ago
Closed 9 years ago
Move contributejson.org to the SNI SSL endpoint at Heroku
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmac, Assigned: joeyk)
References
()
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/4325])
The process is detailed here:
https://devcenter.heroku.com/articles/ssl#migrate-from-ssl-endpoint-to-heroku-ssl
There is also good info in the blocked bug 1331583.
The name of the heroku app in question is "contribute-json".
Let me know if you have any further questions, and thanks!
| Assignee | ||
Comment 1•9 years ago
|
||
Hey :pmac I attempted to read through the comments in bug 1331583 and I think it confused me even more, what exactly needs to be done here? Are we uploading our own certs or using Heroku's? I cant seem to figure out what exactly needs to be done here. Please fill me in with a little more detail when you get the chance, thanks!
Flags: needinfo?(pmac)
| Reporter | ||
Comment 2•9 years ago
|
||
We are using our own certs, Heroku doesn't yet provide a way to get certs from them (i.e. let's encrypt integration). It's just a new SNI-based SSL endpoint for them. The old way (that we're currently using) is $20/mo for them to host our cert because they spin up a dedicated ELB at AWS for the cert. This new thing is the new way, but uses SNI so it doesn't work for very old browsers. All we need is to follow the instructions in the Heroku article I linked in comment #0. I'd do it, but I don't have the cert. It's basically just:
1. heroku certs:add example.crt example.key --type sni
2. set the value of the CNAME record for www.contributejson.org to "www.contributejson.org.herokudns.com"
3. verify it all works
Above the "migrate" section of that article is more detail on the certs and testing.
Hope this clears some things up. If you'd rather you can encrypt and send me the certs using my GPG key (https://keybase.io/pmac) and I can add them to Heroku. I think I'll still need help with the DNS though.
Flags: needinfo?(pmac)
| Assignee | ||
Comment 3•9 years ago
|
||
Hey :pmac, I've got quite a lot on my plate so if I could just send you the encrypted certs and then we can schedule a time to flip the DNS change that would be great! I'll get those certs sent over to you and we can discuss the DNS change date since we will need to file a routine change request for that.
| Reporter | ||
Comment 4•9 years ago
|
||
:joeyk did indeed send me the certs and I've successfully added them to the Heroku application. I verified it is serving the correct cert with the openssl tool[0] (from the heroku docs linked above). Next step is to update the CNAME for www.contributejson.org in the DNS record to point to the new endpoint[1]. After that is done and propagated I can remove the old SSL addon[2] from the app and we can save $$.
Thanks again!
[0] openssl s_client -connect www.contributejson.org.herokudns.com:443 -servername www.contributejson.org
[1] www.contributejson.org.herokudns.com
[2] https://devcenter.heroku.com/articles/ssl#remove-ssl-endpoint-add-on-after-24-hours
| Assignee | ||
Comment 5•9 years ago
|
||
Hey :pmac am I good to flip the DNS at any time? If so I will put in a change request for today at 2pm PST if that works for you? Let me know, thanks!
| Reporter | ||
Comment 6•9 years ago
|
||
Yes. You may flip the DNS switch at any time. Thanks!
| Assignee | ||
Comment 7•9 years ago
|
||
Change Request: CHG0011379
DNS Flipped:
FQDN Target
www.contributejson.org CNAME www.contributejson.org.herokudns.com
| Assignee | ||
Comment 8•9 years ago
|
||
:pmac are we good to close this bug out?
| Reporter | ||
Comment 9•9 years ago
|
||
I think so. It seems to be working well. I'll disable the old SSL addon tomorrow. The work in this bug is done though. Thanks again!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Paul [:pmac] McLanahan from comment #9)
> I think so. It seems to be working well. I'll disable the old SSL addon
> tomorrow. The work in this bug is done though. Thanks again!
Cool deal, thanks man!
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•