Re: [Trans] Prior knowledge of certificate serial number

Rick Andrews <Rick_Andrews@symantec.com> Wed, 24 September 2014 19:42 UTC

Return-Path: <Rick_Andrews@symantec.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A04231A035E for <trans@ietfa.amsl.com>; Wed, 24 Sep 2014 12:42:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.986
X-Spam-Level:
X-Spam-Status: No, score=-4.986 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lKqXOcBaPtVC for <trans@ietfa.amsl.com>; Wed, 24 Sep 2014 12:42:30 -0700 (PDT)
Received: from ecl1mtaoutpex01.symantec.com (ecl1mtaoutpex01.symantec.com [166.98.1.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 904BC1A0351 for <trans@ietf.org>; Wed, 24 Sep 2014 12:42:30 -0700 (PDT)
X-AuditID: a66201d1-f796d6d0000009b9-74-54231ea40e12
Received: from ecl1mtahubpin02.ges.symantec.com (ecl1mtahubpin02.ges.symantec.com [10.48.69.202]) by ecl1mtaoutpex01.symantec.com (Symantec Brightmail Gateway out) with SMTP id 09.22.02489.4AE13245; Wed, 24 Sep 2014 19:42:28 +0000 (GMT)
Received: from [155.64.220.139] (helo=TUS1XCHHUBPIN03.SYMC.SYMANTEC.COM) by ecl1mtahubpin02.ges.symantec.com with esmtp (Exim 4.76) (envelope-from <Rick_Andrews@symantec.com>) id 1XWsSI-0001Gc-N3; Wed, 24 Sep 2014 15:42:26 -0400
Received: from TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM ([155.64.220.147]) by TUS1XCHHUBPIN03.SYMC.SYMANTEC.COM ([155.64.220.139]) with mapi; Wed, 24 Sep 2014 12:42:24 -0700
From: Rick Andrews <Rick_Andrews@symantec.com>
To: Erwann Abalea <eabalea@gmail.com>
Date: Wed, 24 Sep 2014 12:42:22 -0700
Thread-Topic: [Trans] Prior knowledge of certificate serial number
Thread-Index: Ac/YLDIReNveuINDQYSYPl89mOh7ewAAfivw
Message-ID: <544B0DD62A64C1448B2DA253C011414607D14080F3@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM>
References: <54219AF0.6040901@gmail.com> <544B0DD62A64C1448B2DA253C011414607D1408063@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM> <CA+i=0E5bkax-X2FK=2whsT3pH-k8H0DfjGLuRAci5tX=whCxmQ@mail.gmail.com>
In-Reply-To: <CA+i=0E5bkax-X2FK=2whsT3pH-k8H0DfjGLuRAci5tX=whCxmQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_544B0DD62A64C1448B2DA253C011414607D14080F3TUS1XCHEVSPIN_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsWyLInRTXeJnHKIwcwXshYb5rxltmhrm8Vi sfbxRRYHZo+ds+6yeyxZ8pMpgCmKyyYlNSezLLVI3y6BK+Pr7XVMBadqK27u28HawDijqouR k0NCwETi0b/5rBC2mMSFe+vZuhi5OIQE3jFKtE7dxgLhvGKUOHf9MRNIlZDAKkaJt9ulQGw2 AT2JLY+vsIPYIgKqErdP3gObxCzgJ9G1fx4ziM0CFL+06B4biC0s4ChxYvklVoh6J4npXzqh eo0kVm5bBWbzCkRJ9PQ+ZIdYfIBR4t6740BXcHBwCgRKzNkpDlLDCHTp91NrmCB2iUvcejKf CeIDAYkle84zQ9iiEi8f/2OFqBeVuNO+nhGiPl/i6M+1bBC7BCVOznzCAlEvKXFwxQ2WCYzi s5CMnYWkZRaSlllAFzELaEqs36UPUaIoMaX7ITuErSHROmcuO7L4Akb2VYwyqck5hrklifml JQWpFQaGesWVuYnAmE3WS87P3cQIiduLOxgvHNY9xCjAwajEw3tQUjlEiDWxDKjyEKMEB7OS CK/KR6UQId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwpIRwhQgLpiSWp2ampBalFMFkmDk6pBkbv /T233dbxW966uuB/6kLfGdccIj6zct7IEZvkv2U3oyIr67vFM7dLda8Vv33h4Exnhs5X1yuV pNbvPz1zU6+flZK6qozZ0862G3tPzP+37E23g2rj9NUpxUI/V+XcDlj8eVm28MHzBicnZtxn jjjs0Nc6JYRX65rcBME000O/BDg8bml8vFqmxFKckWioxVxUnAgAKKXy1NcCAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/QxHJCm3yvGwjoUlKBj8Vt-knvR4
Cc: Melinda Shore <melinda.shore@gmail.com>, "trans@ietf.org" <trans@ietf.org>
Subject: Re: [Trans] Prior knowledge of certificate serial number
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Sep 2014 19:42:33 -0000

Erwann,

Isn’t it possible that I log a Precertificate in one or more log servers and then can’t issue the final certificate, either because of log server failure or failure of my issuance system? The log server records my INTENT to issue a certificate, but I don’t think it COMPELS me to issue that certificate. I must be able to reject that order, change the date and serial number and start over.

We worked around the issuerName+serialNumber constraint by storing certificates in one table, Precertificates in another.

-Rick

From: Erwann Abalea [mailto:eabalea@gmail.com]
Sent: Wednesday, September 24, 2014 12:18 PM
To: Rick Andrews
Cc: Melinda Shore; trans@ietf.org
Subject: Re: [Trans] Prior knowledge of certificate serial number

Bonsoir Rick,

If the dates set in the final certificate is different than the dates used in the Precertificate, the browser won't be able to verify the SCT. That means that all the Precertificates you publish for the same final certificate MUST be identical in every aspect.

We also have an issuerName+serialNumber constraint in database, that's why Option 1 isn't an easy task.

2014-09-24 21:05 GMT+02:00 Rick Andrews <Rick_Andrews@symantec.com<mailto:Rick_Andrews@symantec.com>>:
Melinda,

At Symantec we know the serial number prior to issuance, because we generate it and put it in the TBSCertficate.

The only problem we have with serial numbers is in the case where we fail to get enough SCTs to put in the cert. We'll retry the operation up to 48 hours, but we always want to set the notBefore date to the day we issue the cert, so we don't short-change customers (believe me, there are customers who notice). But if we update the notBefore date and retry the logging operation, we have to change the serial number too. Otherwise we might log different certs with the same serial number in different logs, and that would be inconsistent. However, we use the combination of issuer name and serial number as a unique key for that order in our database, so changing serial numbers is challenging. The simpler alternative is to reject the order and ask the customer to start over, but that's a bad customer experience. We're not sure yet how we'll solve this, but we'll figure something out (we don't expect 6962-bis to provide a solution). And while we hope that this situation will occur very rarely
 , it could happen, so we're preparing for it.

-Rick

-----Original Message-----
From: Trans [mailto:trans-bounces@ietf.org<mailto:trans-bounces@ietf.org>] On Behalf Of Melinda Shore
Sent: Tuesday, September 23, 2014 9:08 AM
To: trans@ietf.org<mailto:trans@ietf.org>
Subject: [Trans] Prior knowledge of certificate serial number

One of the questions that's come up is whether or not it's reasonable to expect that CAs will (or can) have knowledge of a certificate's serial number prior to issuance - it's one of the basic questions that needs to be considered in the context of the precertificate discussions.
We'd be grateful if any CAs (particularly ones with a CT implementation either in the works or planned) could give some feedback on that.

Thanks,

Melinda

_______________________________________________
Trans mailing list
Trans@ietf.org<mailto:Trans@ietf.org>
https://www.ietf.org/mailman/listinfo/trans

_______________________________________________
Trans mailing list
Trans@ietf.org<mailto:Trans@ietf.org>
https://www.ietf.org/mailman/listinfo/trans



--
Erwann.