Re: [Iot-onboarding] [Anima] Device Certificate Deployment Automation with ACME using BRSKI

Kent Watsen <kent+ietf@watsen.net> Thu, 08 August 2019 16:06 UTC

Return-Path: <0100016c71fac426-ec2033bc-fe7d-4540-8ec4-0a2812b818ac-000000@amazonses.watsen.net>
X-Original-To: iot-onboarding@ietfa.amsl.com
Delivered-To: iot-onboarding@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEE531201E3; Thu, 8 Aug 2019 09:06:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
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 zFs5TbdAYFgx; Thu, 8 Aug 2019 09:06:01 -0700 (PDT)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6C57120203; Thu, 8 Aug 2019 09:05:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1565280355; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=Wt+sYj3pnuZch9lEzOBp14s7/KqLK0H39/NSuak8aZk=; b=ZkKQjgQdI++MjntMk5C95Y9OcagdTggfd+ud/XMia0dC7PBbuCNHlYj+pxaXqlXE JOn1qpALwphKqCVWcwNXwzJsbSm9SGae8SEXS78+er6BpnPRrE7Y3COu8zAQ63d9LCE DMutJfgGHXkdP8L9HTRwyTLA784exyNSkddDFwr4=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016c71fac426-ec2033bc-fe7d-4540-8ec4-0a2812b818ac-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_08A9911B-5DA5-49F6-9908-84BBF4ABE67C"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Thu, 08 Aug 2019 16:05:55 +0000
In-Reply-To: <3508.1565212944@localhost>
Cc: "Owen Friel (ofriel)" <ofriel@cisco.com>, "iot-onboarding@ietf.org" <iot-onboarding@ietf.org>, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>, "anima@ietf.org" <anima@ietf.org>
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <CAGL6epJRmAvDB4=M6RiQaC93wvy1XDgcbhOmuKUtqmEhBWC72w@mail.gmail.com> <DM6PR11MB3385FD834E826E25160B53AADBD50@DM6PR11MB3385.namprd11.prod.outlook.com> <DM6PR11MB33851A9026943624FC5BD478DBD50@DM6PR11MB3385.namprd11.prod.outlook.com> <0100016c6772e4e8-8ce5598b-2c2a-488e-b7c2-414d9003e46b-000000@email.amazonses.com> <3508.1565212944@localhost>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.08.08-54.240.8.83
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/iot-onboarding/DilbTH8G5yWQUCQJvV-5PoaUanw>
Subject: Re: [Iot-onboarding] [Anima] Device Certificate Deployment Automation with ACME using BRSKI
X-BeenThere: iot-onboarding@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IoT onboarding mechanisms <iot-onboarding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iot-onboarding/>
List-Post: <mailto:iot-onboarding@ietf.org>
List-Help: <mailto:iot-onboarding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Aug 2019 16:06:07 -0000

Hi Michael,


>> Skimming quickly, I see now the direction to go to a cloud registrar to
>> be redirected to a local registrar.  I feel compelled to point out that
>> this is exactly what SZTP (RFC 8572) does, or at least, supports.
>> Actually, as a more general statement, it was originally said that the
>> two WG's approaches were different, but they are now becoming more and
>> more alike.  Well, since SZTP is published already, it's more like the
>> ANIMA approach is becoming more like SZTP, albeit seemingly with more
>> complexity.
> 
> SZTP does not directly result in the same mutually authenticated TLS (EST)
> connection to a Registrar that BRSKI does.  This was not an explicit SZTP goal.

It's true that EST isn't used, but there is a mutually-authenticated TLS connection to the SZTP bootstrap server, which is effectively the same as BRSKI's Registrar.   


> What it could do though, is to provide a source of (secure) bootstrap
> configuration in which such a connection could be initiated.  In my mind,
> I see a fragment of signed JUNOS, IOS (CISCO, not Apple), etc. CLI
> configuration that initiates the connection. Such a thing would not be
> standardized.
> But, I would think that this is exactly the kind of thing that could
> be encoded in YANG.

Indeed, this what RFC 8572 describes (in section 5.6 and also in C.3, item #3) and the primary motivation behind https://tools.ietf.org/html/draft-ietf-netconf-restconf-client-server <https://tools.ietf.org/html/draft-ietf-netconf-restconf-client-server> and https://tools.ietf.org/html/draft-ietf-netconf-netconf-client-server <https://tools.ietf.org/html/draft-ietf-netconf-netconf-client-server>.



> My understanding of https://tools.ietf.org/html/draft-ietf-netconf-keystore
> is that it would provided for Registrar initiated (PUSH) updating of device
> certificates, but would not provide a way for a device to initiate (PULL) to
> a securely identified EST server.

Sounds correct, but clarifying:

1) the current keystore model is all about enabling a controller/NMS application to configure/set/push keys and associated end-entity certificates to a device.

2) there is a suggestion that the keystore model could/should be extended to support ACME (or similar), in which case one might claim that the device had "pulled" an end-entity certificate from a "securely identified server" (dropping the "EST" part).

3) the truststore model (draft-ietf-netconf-trust-anchors) can be used by a controller/NMS application to configure/set/push trust-anchor certs used, e.g., to verify a remote server's end-entity certificate.


Cheers,
Kent