Add Cloudflare CDN in front of enabled.dc.crypto.mozilla.org
Categories
(Infrastructure & Operations :: Infrastructure: Other, task)
Tracking
(Not tracked)
People
(Reporter: jcj, Unassigned)
References
Details
CryptoEng needs to have enabled.dc.crypto.mozilla.org hosted via Cloudflare, using the special certificate created in Bug 1596154, for use in the Delegated Credentials tests [1] (Bug 1580053, Bug 1574029). It must be Cloudflare.
Currently, enabled.dc.crypto.mozilla.org and dc.crypto.mozilla.org are both hosted by a small EC2 instance at ec2-3-133-81-85.us-east-2.compute.amazonaws.com. CryptoEng controls DNS for crypto.mozilla.org via Route53, and can adjust those settings as-needd.
The Cloudflare settings for enabled.dc.crypto.mozilla.org would generally be just to host the site at ec2-3-133-81-85.us-east-2.compute.amazonaws.com for enabled.dc.crypto.mozilla.org - a small test page. Full caching is great.
Using the special certificate from Bug 1596154 will do the rest. Cloudflare will automatically enable the Delegated Credentials mechanism.
[1] https://blog.mozilla.org/security/2019/11/01/validating-delegated-credentials-for-tls-in-firefox/
Comment 1•6 years ago
|
||
I've generated an SSL certificate bundle with the requirements from bug 1596154. Let me know whom I can send this to securely, and I will send it over.
| Reporter | ||
Comment 2•6 years ago
|
||
Moving components - not sure if I got this one right, will ping team.
Comment 3•6 years ago
|
||
:jlaz, please send me the cert you generated encrypted with the key I have published at https://keybase.io/jgmize and I will upload it to Cloudflare.
:jcj please create a CNAME record in Route53 pointing enabled.dc.crypto.mozilla.org to enabled.dc.crypto.mozilla.org.cdn.cloudflare.net
Comment 4•6 years ago
|
||
Certificate bundle sent to :jgmize over keybase
| Reporter | ||
Comment 5•6 years ago
|
||
CNAME set, previous setting had a 300 second TTL so expect a fast update.
Comment 6•6 years ago
|
||
I've configured Cloudflare to use 3.133.81.85 as the origin for enabled.dc.crypto.mozilla.org, but when I attempted to upload the cert to Cloudflare I got the following error:
The private key you uploaded is invalid. Please check your input and try again. (Code: 2106)
I've emailed the Cloudflare POC for this asking for suggested next actions.
Comment 7•6 years ago
|
||
Per an email thread with our Clodflare POC we're going to try a different cert signed with ECDSA/SHA256 instead of the ECDSA/SHA384 signature used in the cert from bug 1596154. :jlaz is revoking the previous cert now and will send me the new cert once it is issued.
Comment 8•6 years ago
|
||
Old certificate has been revoked and a new one generated with the specifications in the previous comment, sent to :jgmize over keybase
Comment 9•6 years ago
|
||
It seems that Digicert is signing the certificate as SHA384, despite the fact that I am choosing SHA256. Working with Digicert to figure out the issue.
Comment 10•6 years ago
|
||
We were able to work around a bug in the Cloudflare upload form by enabling support for non-SNI legacy clients, and https://enabled.dc.crypto.mozilla.org/ is now working for me and :jcj.
Description
•