Closed kwatsen closed 7 years ago
From: "Ersue, Mehmet (Nokia - DE/Munich)" mehmet.ersue@nokia.com Date: Saturday, August 13, 2016 at 8:57 AM To: Kent Watsen kwatsen@juniper.net, "netconf@ietf.org" netconf@ietf.org Subject: RE: [Netconf] zerotouch/16: How to encode a chain of certs?
Dear All, technical spoken I’m in favor of supporting all formats with a ‘format’ leaf. @All: Please comment on the proposal from Kent below. Mehmet From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Kent Watsen Sent: Saturday, August 13, 2016 1:00 AM To: netconf@ietf.org Subject: Re: [Netconf] zerotouch/16: How to encode a chain of certs? This issue was discussed in Berlin, but no decision was reached. Here are my current thoughts:
[moving to edit state, following posted to list]
So both Mahesh and Mehmet (as contributors I believe) selected option #6. No other responses were received. Thus I will move forward with option #6. Thanks, Kent
The PKCS#12 format is giving me trouble. I dumped its ASN.1 content to ensure I was documenting the structure correctly, only to discover that it was password-encrypted, even though I hit
So now it’s just PEM and PKCS#7, but between the two, PKCS#7 is by far the better choice. The idea of supporting more than one format was only really interesting when pkcs#12 was in the mix. Now I’m not sure if it’s worth it any more. So, should we stick with:
+--ro certificate
+--ro format enumeration <-- choices are “pem” and “pkcs7”
+--ro data binary <-- encoding depends on ‘format’ field
or
+--ro certificate binary <-- hardcoded to pkcs#7
Mehmet/Mahesh, since you two selected option #6 (see below) before, I’m especially interested in your opinions.
Thanks, Kent
The draft currently states that the owner-certificate is just a single certificate
But the owner certificate actually needs to be presented along with its chain of intermediate certificates leading up to the trust anchor certificate known the to manufacturer's devices. Here are some options:
Thoughts?
Notes:
Kent
FWIW, here's how the text might look like with a PKCS#12 structure: