Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 15203007: Warn if a well-known/"public" CA issues a certificate for a non-TLD (Closed)

Created:
7 years, 7 months ago by Ryan Sleevi
Modified:
7 years, 7 months ago
Reviewers:
palmer, agl
CC:
chromium-reviews, cbentzel+watch_chromium.org, palmer
Visibility:
Public.

Description

Warn if a well-known/"public" CA issues a certificate for a non-TLD In preparation for new gTLDs being issued, begin phasing out the process of permitting publicly-trusted, well-known CAs to issue certificates for names that the CA cannot verify exclusive control over, such as "webmail" or "intranet.corp". Instead, require all publicly-trusted certificates be issued for domains that chain to an ICANN-recognized root zone (registry controlled domain). For certs that fail to meet this basic criteria, do not display the page as secure, as an attacker may be able to go to another CA (or even the same CA as the 'legitimate' site) and get a valid, publicly-trusted certificate for the same name. This does not cause an interstitial to be shown, but represents the first step to phasing out the practice. BUG=119212 TEST=[to be filled in] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200704

Patch Set 1 #

Total comments: 1

Patch Set 2 : Now with less fail #

Total comments: 2

Patch Set 3 : Comment tweaks #

Patch Set 4 : comment tweak #

Patch Set 5 : Make MSVC's swap impl happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -6 lines) Patch
M net/cert/cert_verify_proc.h View 1 2 3 2 chunks +17 lines, -3 lines 0 comments Download
M net/cert/cert_verify_proc.cc View 1 2 3 chunks +46 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 3 4 4 chunks +136 lines, -2 lines 0 comments Download
M net/cert/x509_certificate.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Ryan Sleevi
agl: This one's a bit charged, so I'll let you take the review. palmer: Merry ...
7 years, 7 months ago (2013-05-16 02:45:46 UTC) #1
Ryan Sleevi
also +cc felt, in the event this biases any of the interstitial tests (even though ...
7 years, 7 months ago (2013-05-16 02:59:01 UTC) #2
felt
Hi Ryan, to make sure I understand-- this will change what the URL looks like ...
7 years, 7 months ago (2013-05-16 05:21:38 UTC) #3
Ryan Sleevi
Correct. On May 15, 2013 10:21 PM, <felt@chromium.org> wrote: > Hi Ryan, to make sure ...
7 years, 7 months ago (2013-05-16 05:22:47 UTC) #4
felt
Thanks for the heads up. On 2013/05/16 05:22:47, Ryan Sleevi wrote: > Correct. > On ...
7 years, 7 months ago (2013-05-16 05:23:30 UTC) #5
agl
lgtm https://codereview.chromium.org/15203007/diff/1/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/15203007/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode69 net/cert/cert_verify_proc_unittest.cc:69: bool is_well_known_; nit: const
7 years, 7 months ago (2013-05-16 16:33:29 UTC) #6
palmer
Thank you, Santa! LGTM.
7 years, 7 months ago (2013-05-16 17:50:55 UTC) #7
Ryan Sleevi
So I realized this morning that there were no tests for IP addresses - and ...
7 years, 7 months ago (2013-05-16 19:57:13 UTC) #8
agl
lgtm https://codereview.chromium.org/15203007/diff/10001/net/cert/cert_verify_proc.h File net/cert/cert_verify_proc.h (right): https://codereview.chromium.org/15203007/diff/10001/net/cert/cert_verify_proc.h#newcode97 net/cert/cert_verify_proc.h:97: // While such names are not scheduled to ...
7 years, 7 months ago (2013-05-16 20:08:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/15203007/18001
7 years, 7 months ago (2013-05-16 20:59:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/15203007/32001
7 years, 7 months ago (2013-05-16 21:30:10 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 02:09:12 UTC) #12
Message was sent while issue was closed.
Change committed as 200704

Powered by Google App Engine
This is Rietveld 408576698