Re: [lamps] Including 3GPP NF Type in HTTPS certificates

Russ Housley <housley@vigilsec.com> Thu, 23 June 2022 16:39 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BADD9C15D866 for <spasm@ietfa.amsl.com>; Thu, 23 Jun 2022 09:39:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dqfzkxlrC58D for <spasm@ietfa.amsl.com>; Thu, 23 Jun 2022 09:39:38 -0700 (PDT)
Received: from mail3.g24.pair.com (mail3.g24.pair.com [66.39.134.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29921C15AE28 for <spasm@ietf.org>; Thu, 23 Jun 2022 09:39:38 -0700 (PDT)
Received: from mail3.g24.pair.com (localhost [127.0.0.1]) by mail3.g24.pair.com (Postfix) with ESMTP id 60E5676451 for <spasm@ietf.org>; Thu, 23 Jun 2022 12:39:37 -0400 (EDT)
Received: from [10.0.1.2] (pfs.iad.rg.net [198.180.150.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail3.g24.pair.com (Postfix) with ESMTPSA id 4FED976C97 for <spasm@ietf.org>; Thu, 23 Jun 2022 12:39:37 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_CD83D5C1-B029-4618-8862-D47CB3C85A5E"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Thu, 23 Jun 2022 12:39:36 -0400
References: <HE1PR0701MB30509AD4C4E6A9130FF18B6689FA9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
To: LAMPS <spasm@ietf.org>
In-Reply-To: <HE1PR0701MB30509AD4C4E6A9130FF18B6689FA9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Message-Id: <77B15D02-EBA9-405D-88ED-411AD7BB82E4@vigilsec.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/I8BckWK5UnhVEFEoO6DPiqVje4c>
Subject: Re: [lamps] Including 3GPP NF Type in HTTPS certificates
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jun 2022 16:39:41 -0000

A few of us got together and put together a draft related to John's request:

	https://datatracker.ietf.org/doc/draft-housley-lamps-3g-nftypes/ <https://datatracker.ietf.org/doc/draft-housley-lamps-3g-nftypes/>

It is very straightforward.

I hope the LAMPS WG will consider adoption.  Of course, Tim will handle any consensus calls related to it.

Russ


> On Apr 27, 2022, at 10:20 AM, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Hi,
>  
> The signaling in 5G (Service Based Architecture) uses HTTP/2 over mutually authenticated TLS 1.3. 3GPP has specified a X.509 certificate profile in section 6.1.3c of TS 33.310. The profile states that the NF Type (e.g., "NRF", "5G_EIR", "UDM", etc.) should be included as a DNS-ID in client certificates. I don't think this is appropriate in general. It also violates RFC 5280 as several of the NF Types contain an underscore "_" character.
>  
> https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2293 <https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2293>
>  
> I think 3GPP needs to update their specification. What would be a recommended way to include the 3GPP NF Type strings in X.509 certificates?
>  
> - Should 3GPP/ETSI register a NF type type-id OID for use with otherName that takes a utf8String as value?
> - Should 3GPP/ETSI register a registeredID OID for each NF Type?
> - Any other recommended way to include the NF type in the 3GPP certificates?
>  
> Feedback would be very welcome.
>  
> Cheers,
> John
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org <mailto:Spasm@ietf.org>
> https://www.ietf.org/mailman/listinfo/spasm <https://www.ietf.org/mailman/listinfo/spasm>