Closed
Bug 1017155
Opened 12 years ago
Closed 11 years ago
HTTPS for telemetry.mozilla.org
Categories
(Data Platform and Tools :: General, defect)
Data Platform and Tools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jonasfj, Assigned: mostlygeek)
References
Details
telemetry.mozilla.org is currently hosted using S3, directly. This means not HTTPS.
Which is sort of not-so-good, because we encourage people to hotlink telemetry.js from here. Specifically, if you want to consumer aggregated telemetry data as displayed on the dashboard, then the official way to do so, is to include:
http://telemetry.mozilla.org/v1/telemetry.js
We can probably do this by putting cloudfront in front of our S3 bucket.
It can do custom SSL certificates now.
Note. expiration for all objects under cloudfront should preferably not be 24 hours. An hour or less would be preferable. If this is something we can configure bucket wide that would be great.
Otherwise, I guess we can update our sync script to flush cloudfront when we update the S3 bucket.
The goal here is really just to mirror the github repository on telemetry.mozilla.org with HTTPS.
| Assignee | ||
Comment 1•12 years ago
|
||
Note: this will use Cloudfront SNI SSL (shared IP address). This is included in the price and likely not an issue since all the clients are Firefox browser.
Comment 2•12 years ago
|
||
(In reply to Ben Wong [:mostlygeek] from comment #1)
> Note: this will use Cloudfront SNI SSL (shared IP address). This is included
> in the price and likely not an issue since all the clients are Firefox
> browser.
There's actually a fair number of non-Firefox browsers viewing telemetry.mozilla.org, but according to the SNI SSL docs:
"SNI Custom SSL works with most modern browsers, including Chrome version 6 and later (running on Windows XP and later or OS X 10.5.7 and later), Safari version 3 and later (running on Windows Vista and later or Mac OS X 10.5.6. and later), Firefox 2.0 and later, and Internet Explorer 7 and later (running on Windows Vista and later)."
This covers the current telemetry.m.o user base (assuming it works in modern versions of Opera too).
| Reporter | ||
Comment 3•11 years ago
|
||
We have a few people who uses telemetry.js in node.js. So I've recently created a node.js module to load telemetry.js from telemetry.m.o/v1/telemetry.js (basically to reduce maintenance). See blog post for details:
http://jonasfj.dk/blog/2014/08/using-aggregates-from-telemetry-dashboard-in-node-js/
Anyways, this npm module loads telemetry.js over HTTP. It would be really nice to get HTTPS support for telemetry.mozilla.org.
SNI perfectly okay with me, we don't care about old browsers as they can't run the content anyway :)
Comment 5•11 years ago
|
||
- Create Cloudfront distribution for the "telemetry.mozilla.org" S3 bucket
- Configure custom SSL for Cloudfront using the telemetry.mozilla.org SSL Cert
- Update DNS: Switch the CNAME for telemetry.mozilla.org to point at the Cloudfront distro (it's currently pointing directly at the S3 bucket URL: telemetry.mozilla.org.s3-website-us-east-1.amazonaws.com)
Flags: needinfo?(mreid)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bwong
| Assignee | ||
Comment 6•11 years ago
|
||
Need an SSL cert (telemetry.mozilla.org) created for cloudfront. jason could you get that into the new prod iam for me please?
Flags: needinfo?(jthomas)
Comment 7•11 years ago
|
||
Webops purchased a Multi EV SSL Certificate for telemetry.mozilla.org in bug 911309. Let's reuse this here.
It has been uploaded to new prod IAM.
Flags: needinfo?(jthomas)
| Assignee | ||
Comment 8•11 years ago
|
||
cloudfront distribution setup.
Just need to change telemetry.mozilla.org CNAME d65ojvdli7jd8.cloudfront.net
Test it
(SSL):
(printf "GET / HTTP/1.1\nHost: telemetry.mozilla.org\n\n"; sleep 2) | openssl s_client -connect d65ojvdli7jd8.cloudfront.net:443 -servername telemetry.mozilla.org
(HTTP):
curl -vH 'Host: telemetry.mozilla.org' d65ojvdli7jd8.cloudfront.net
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Updated•7 years ago
|
Product: Webtools → Data Platform and Tools
Updated•3 years ago
|
Component: Telemetry Dashboards (TMO) → General
You need to log in
before you can comment on or make changes to this bug.
Description
•