Re: [pkix] Managing Long-Lived CA certs

"Dr. Pala" <director@openca.org> Mon, 17 July 2017 14:58 UTC

Return-Path: <director@openca.org>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C8D3126557 for <pkix@ietfa.amsl.com>; Mon, 17 Jul 2017 07:58:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level:
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_HK_NAME_DR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 lJliO6ar5SWD for <pkix@ietfa.amsl.com>; Mon, 17 Jul 2017 07:58:38 -0700 (PDT)
Received: from mail.katezarealty.com (mail.katezarealty.com [104.168.158.213]) by ietfa.amsl.com (Postfix) with ESMTP id 35FED1200FC for <pkix@ietf.org>; Mon, 17 Jul 2017 07:58:38 -0700 (PDT)
Received: from dhcp-8e48.meeting.ietf.org (dhcp-8e48.meeting.ietf.org [31.133.142.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.katezarealty.com (Postfix) with ESMTPSA id 79ECB3740F41 for <pkix@ietf.org>; Mon, 17 Jul 2017 10:58:37 -0400 (EDT)
To: PKIX <pkix@ietf.org>
References: <467c8936-f6aa-0853-878c-24fc8803c599@openca.org> <5ff947d4-4609-a998-ee16-6988750bedba@comodo.com>
From: "Dr. Pala" <director@openca.org>
Organization: OpenCA Labs
Message-ID: <6d12f836-6920-0a37-bff7-326b998dae3e@openca.org>
Date: Mon, 17 Jul 2017 16:58:35 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <5ff947d4-4609-a998-ee16-6988750bedba@comodo.com>
Content-Type: multipart/alternative; boundary="------------5E0DBBF8552F323DB1B360DA"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/JuBZZ9rCbmOpWw2Glrg-8TRotMc>
Subject: Re: [pkix] Managing Long-Lived CA certs
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Jul 2017 14:58:40 -0000

Hi Rob,

I was thinking about that but wouldn't it prevent using the key for 
other reasons like signing CRLs ? I know you can have a separate CRL 
signer, but I would like to limit _only_ the issuing of certificates, 
not other usages.

Cheers,
Max


On 7/17/17 4:49 PM, Rob Stradling wrote:
> Hi Max.
>
> The "Private Key Usage Period" extension was present in RFC2459 and 
> RFC3280 (see section 4.2.1.4), but was removed in RFC5280. (Well, 
> mostly removed; the ASN.1 definitions are still in Appendix A.2 ;-) ).
>
> On 17/07/17 15:19, Dr. Pala wrote:
>> Hi PKIX,
>>
>> I have a small question for the list regarding long-lived CA 
>> certificates. Especially in the context of device certificates, we 
>> often see the use of extra long-lived certificates for Root and Sub 
>> CAs (e.g., 35+ years) combined with limited key sizes (e.g., p256).
>>
>> Until we have a supported mechanism for reprovisioning devices (...), 
>> one possible solution for limiting the exposure of the private key 
>> would be to have a scoped certificate issuance period.
>>
>> What I am thinking about would be adding an extension that says: 
>> "This CA can issue certificates from up to 5 years from the 
>> validFrom, after this, just use it to provide revocation 
>> information". This might provide some protection in case the CA key 
>> is compromised after the initial 5 years of validity (e.g., 
>> certificates issued after that date shall be rejected).
>>
>> Does such extension exists today ? If not, could this be some work 
>> for LAMPS/SPASM WG ?
>>
>> Cheers,
>> Max
>>
>> -- 
>> Best Regards,
>> Massimiliano Pala, Ph.D.
>> OpenCA Labs Director
>> OpenCA Logo
>>
>>
>> _______________________________________________
>> pkix mailing list
>> pkix@ietf.org
>> https://www.ietf.org/mailman/listinfo/pkix
>>
>

-- 
Best Regards,
Massimiliano Pala, Ph.D.
OpenCA Labs Director
OpenCA Logo