draft-ietf-netconf-tls-client-server-04.txt   draft-ietf-netconf-tls-client-server-05.txt 
NETCONF Working Group K. Watsen NETCONF Working Group K. Watsen
Internet-Draft Juniper Networks Internet-Draft Juniper Networks
Intended status: Standards Track G. Wu Intended status: Standards Track G. Wu
Expires: April 21, 2018 Cisco Systems Expires: May 3, 2018 Cisco Systems
October 18, 2017 October 30, 2017
YANG Groupings for TLS Clients and TLS Servers YANG Groupings for TLS Clients and TLS Servers
draft-ietf-netconf-tls-client-server-04 draft-ietf-netconf-tls-client-server-05
Abstract Abstract
This document defines three YANG modules: the first defines groupings This document defines three YANG modules: the first defines groupings
for a generic TLS client, the second defines groupings for a generic for a generic TLS client, the second defines groupings for a generic
TLS server, and the third defines common identities and groupings TLS server, and the third defines common identities and groupings
used by both the client and the server. It is intended that these used by both the client and the server. It is intended that these
groupings will be used by applications using the TLS protocol. groupings will be used by applications using the TLS protocol.
Editorial Note (To be removed by RFC Editor) Editorial Note (To be removed by RFC Editor)
skipping to change at page 1, line 44 skipping to change at page 1, line 44
Artwork in this document contains shorthand references to drafts in Artwork in this document contains shorthand references to drafts in
progress. Please apply the following replacements: progress. Please apply the following replacements:
o "XXXX" --> the assigned RFC value for this draft o "XXXX" --> the assigned RFC value for this draft
o "YYYY" --> the assigned RFC value for I-D.ietf-netconf-keystore o "YYYY" --> the assigned RFC value for I-D.ietf-netconf-keystore
Artwork in this document contains placeholder values for the date of Artwork in this document contains placeholder values for the date of
publication of this draft. Please apply the following replacement: publication of this draft. Please apply the following replacement:
o "2017-10-19" --> the publication date of this draft o "2017-10-30" --> the publication date of this draft
The following Appendix section is to be removed prior to publication: The following Appendix section is to be removed prior to publication:
o Appendix A. Change Log o Appendix A. Change Log
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
skipping to change at page 2, line 22 skipping to change at page 2, line 22
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 21, 2018. This Internet-Draft will expire on May 3, 2018.
Copyright Notice Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License. described in the Simplified BSD License.
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4 3. The TLS Client Model . . . . . . . . . . . . . . . . . . . . 4
2. The TLS Client Model . . . . . . . . . . . . . . . . . . . . 4 3.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 4
2.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 4 3.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 5
2.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 5 3.3. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 6
2.3. YANG Model . . . . . . . . . . . . . . . . . . . . . . . 5 4. The TLS Server Model . . . . . . . . . . . . . . . . . . . . 9
3. The TLS Server Model . . . . . . . . . . . . . . . . . . . . 8 4.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 9
3.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 8 4.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 10
3.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 9 4.3. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 11
3.3. YANG Model . . . . . . . . . . . . . . . . . . . . . . . 9 5. The TLS Common Model . . . . . . . . . . . . . . . . . . . . 14
4. The TLS Common Model . . . . . . . . . . . . . . . . . . . . 12 5.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 14
4.1. Tree Diagram . . . . . . . . . . . . . . . . . . . . . . 13 5.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 14
4.2. Example Usage . . . . . . . . . . . . . . . . . . . . . . 13 5.3. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 15
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
4.3. YANG Model . . . . . . . . . . . . . . . . . . . . . . . 13 6. Security Considerations . . . . . . . . . . . . . . . . . . . 23
5. Security Considerations . . . . . . . . . . . . . . . . . . . 22 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 24
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 23 7.1. The IETF XML Registry . . . . . . . . . . . . . . . . . . 24
6.1. The IETF XML Registry . . . . . . . . . . . . . . . . . . 23 7.2. The YANG Module Names Registry . . . . . . . . . . . . . 25
6.2. The YANG Module Names Registry . . . . . . . . . . . . . 23 8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 25
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 24 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 25
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 24 9.1. Normative References . . . . . . . . . . . . . . . . . . 25
8.1. Normative References . . . . . . . . . . . . . . . . . . 24 9.2. Informative References . . . . . . . . . . . . . . . . . 27
8.2. Informative References . . . . . . . . . . . . . . . . . 25 Appendix A. Change Log . . . . . . . . . . . . . . . . . . . . . 28
Appendix A. Change Log . . . . . . . . . . . . . . . . . . . . . 27 A.1. 00 to 01 . . . . . . . . . . . . . . . . . . . . . . . . 28
A.1. server-model-09 to 00 . . . . . . . . . . . . . . . . . . 27 A.2. 01 to 02 . . . . . . . . . . . . . . . . . . . . . . . . 28
A.2. 00 to 01 . . . . . . . . . . . . . . . . . . . . . . . . 27 A.3. 02 to 03 . . . . . . . . . . . . . . . . . . . . . . . . 28
A.3. 01 to 02 . . . . . . . . . . . . . . . . . . . . . . . . 27 A.4. 03 to 04 . . . . . . . . . . . . . . . . . . . . . . . . 28
A.4. 02 to 03 . . . . . . . . . . . . . . . . . . . . . . . . 27 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 29
A.5. 03 to 04 . . . . . . . . . . . . . . . . . . . . . . . . 27
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 27
1. Introduction 1. Introduction
This document defines three YANG [RFC7950] modules: the first defines This document defines three YANG [RFC7950] modules: the first defines
a grouping for a generic TLS client, the second defines a grouping a grouping for a generic TLS client, the second defines a grouping
for a generic TLS server, and the third defines identities and for a generic TLS server, and the third defines identities and
groupings common to both the client and the server (TLS is defined in groupings common to both the client and the server (TLS is defined in
[RFC5246]). It is intended that these groupings will be used by [RFC5246]). It is intended that these groupings will be used by
applications using the TLS protocol. For instance, these groupings applications using the TLS protocol. For instance, these groupings
could be used to help define the data model for an HTTPS [RFC2818] could be used to help define the data model for an HTTPS [RFC2818]
skipping to change at page 3, line 45 skipping to change at page 3, line 43
The client and server YANG modules in this document each define one The client and server YANG modules in this document each define one
grouping, which is focused on just TLS-specific configuration, and grouping, which is focused on just TLS-specific configuration, and
specifically avoids any transport-level configuration, such as what specifically avoids any transport-level configuration, such as what
ports to listen-on or connect-to. This enables applications the ports to listen-on or connect-to. This enables applications the
opportunity to define their own strategy for how the underlying TCP opportunity to define their own strategy for how the underlying TCP
connection is established. For instance, applications supporting connection is established. For instance, applications supporting
NETCONF Call Home [RFC8071] could use the grouping for the TLS parts NETCONF Call Home [RFC8071] could use the grouping for the TLS parts
it provides, while adding data nodes for the TCP-level call-home it provides, while adding data nodes for the TCP-level call-home
configuration. configuration.
1.1. Terminology 2. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP "OPTIONAL" in this document are to be interpreted as described in BCP
14 [RFC2119] [RFC8174] when, and only when, they appear in all 14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here. capitals, as shown here.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
1.2. Tree Diagrams 3. The TLS Client Model
A simplified graphical representation of the data models is used in
this document. The meaning of the symbols in these diagrams is as
follows:
o Brackets "[" and "]" enclose list keys.
o Braces "{" and "}" enclose feature names, and indicate that the
named feature must be present for the subtree to be present.
o Abbreviations before data node names: "rw" means configuration
(read-write) and "ro" state data (read-only).
o Symbols after data node names: "?" means an optional node, "!"
means a presence container, and "*" denotes a list and leaf-list.
o Parentheses enclose choice and case nodes, and case nodes are also
marked with a colon (":").
o Ellipsis ("...") stands for contents of subtrees that are not
shown.
2. The TLS Client Model
The TLS client model presented in this section contains one YANG The TLS client model presented in this section contains one YANG
grouping, to just configure the TLS client, omitting, for instance, grouping, to just configure the TLS client, omitting, for instance,
any configuration for which IP address or port the client should any configuration for which IP address or port the client should
connect to. connect to.
This grouping references data nodes defined by the keystore model This grouping references data nodes defined by the keystore model
[I-D.ietf-netconf-keystore]. For instance, a reference to the [I-D.ietf-netconf-keystore]. For instance, a reference to the
keystore model is made to indicate which trusted CA certificate a keystore model is made to indicate which trusted CA certificate a
client should use to authenticate the server's certificate. client should use to authenticate the server's certificate.
2.1. Tree Diagram 3.1. Tree Diagram
The following tree diagram presents the data model for the grouping The following tree diagram [I-D.ietf-netmod-yang-tree-diagrams]
defined in the ietf-tls-client module. Please see Section 1.2 for provides an overview of the data model for the "ietf-tls-client"
tree diagram notation. module.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
module: ietf-tls-client module: ietf-tls-client
grouping tls-client-grouping grouping tls-client-grouping
+---- client-auth +---- client-identity
| +---- (auth-type)? | +---- (auth-type)?
| +--:(certificate) | +--:(certificate)
| +---- certificate? leafref | +---- certificate
| +---- algorithm?
| | identityref
| +---- private-key? union
| +---- public-key? binary
| +---x generate-private-key
| | +---w input
| | +---w algorithm identityref
| +---- certificates
| | +---- certificate* [name]
| | +---- name? string
| | +---- value? binary
| +---x generate-certificate-signing-request
| +---w input
| | +---w subject binary
| | +---w attributes? binary
| +--ro output
| +--ro certificate-signing-request binary
+---- server-auth +---- server-auth
| +---- pinned-ca-certs? | +---- pinned-ca-certs? ks:pinned-certificates
| | -> /ks:keystore/pinned-certificates/name | +---- pinned-server-certs? ks:pinned-certificates
| +---- pinned-server-certs?
| -> /ks:keystore/pinned-certificates/name
+---- hello-params {tls-client-hello-params-config}? +---- hello-params {tls-client-hello-params-config}?
+---- tls-versions +---- tls-versions
| +---- tls-version* identityref | +---- tls-version* identityref
+---- cipher-suites +---- cipher-suites
+---- cipher-suite* identityref +---- cipher-suite* identityref
2.2. Example Usage 3.2. Example Usage
This section shows how it would appear if the tls-client-grouping This section shows how it would appear if the tls-client-grouping
were populated with some data. This example is consistent with the were populated with some data. This example is consistent with the
examples presented in Section 2.2 of [I-D.ietf-netconf-keystore]. examples presented in Section 2.2 of [I-D.ietf-netconf-keystore].
<!-- hypothetical example, as groupings don't have instance data --> Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
<tls-client xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-client">
<!-- how this client will authenticate itself to the server --> [ note: '\' line wrapping for formatting only]
<client-auth>
<certificate>builtin-idevid-cert</certificate>
</client-auth>
<!-- which certificates will this client trust --> <!-- hypothetical example, as groupings don't have instance data -->
<server-auth> <tls-client xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-client">
<pinned-ca-certs>deployment-specific-ca-certs</pinned-ca-certs>
<pinned-server-certs>explicitly-trusted-client-certs</pinned-server-certs>
</server-auth>
</tls-client> <!-- how this client will authenticate itself to the server -->
<client-identity>
<certificate>
<algorithm xmlns:ks="urn:ietf:params:xml:ns:yang:ietf-keystore"\
>ks:secp521r1</algorithm>
<private-key>base64encodedvalue==</private-key>
<public-key>base64encodedvalue==</public-key>
<certificates>
<certificate>
<name>domain certificate</name>
<value>base64encodedvalue==</value>
</certificate>
</certificates>
</certificate>
</client-identity>
2.3. YANG Model <!-- which certificates will this client trust -->
<server-auth>
<pinned-ca-certs>deployment-specific-ca-certs</pinned-ca-certs>
<pinned-server-certs>explicitly-trusted-client-certs</pinned-serv\
er-certs>
</server-auth>
</tls-client>
3.3. YANG Module
This YANG module has a normative references to [RFC6991] and This YANG module has a normative references to [RFC6991] and
[I-D.ietf-netconf-keystore]. [I-D.ietf-netconf-keystore].
<CODE BEGINS> file "ietf-tls-client@2017-10-19.yang" <CODE BEGINS> file "ietf-tls-client@2017-10-30.yang"
module ietf-tls-client { module ietf-tls-client {
yang-version 1.1; yang-version 1.1;
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
namespace "urn:ietf:params:xml:ns:yang:ietf-tls-client"; namespace "urn:ietf:params:xml:ns:yang:ietf-tls-client";
prefix "tlsc"; prefix "tlsc";
import ietf-tls-common { import ietf-tls-common {
prefix tlscmn; prefix tlscmn;
revision-date 2017-10-19; // stable grouping definitions revision-date 2017-10-30; // stable grouping definitions
reference reference
"RFC XXXX: YANG Groupings for TLS Clients and TLS Servers"; "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
} }
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
import ietf-keystore { import ietf-keystore {
prefix ks; prefix ks;
reference reference
"RFC YYYY: Keystore Model"; "RFC YYYY: Keystore Model";
} }
organization organization
"IETF NETCONF (Network Configuration) Working Group"; "IETF NETCONF (Network Configuration) Working Group";
contact contact
skipping to change at page 6, line 53 skipping to change at page 7, line 43
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's License set forth in Section 4.c of the IETF Trust's
Legal Provisions Relating to IETF Documents Legal Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2017-10-19" { revision "2017-10-30" {
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
description description
"Initial version"; "Initial version";
reference reference
"RFC XXXX: YANG Groupings for TLS Clients and TLS Servers"; "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
} }
// features
feature tls-client-hello-params-config { feature tls-client-hello-params-config {
description description
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
"TLS hello message parameters are configurable on a TLS "TLS hello message parameters are configurable on a TLS
client."; client.";
} }
// groupings
grouping tls-client-grouping { grouping tls-client-grouping {
description description
"A reusable grouping for configuring a TLS client without "A reusable grouping for configuring a TLS client without
any consideration for how an underlying TCP session is any consideration for how an underlying TCP session is
established."; established.";
container client-auth { container client-identity {
description description
"The credentials used by the client to authenticate to "The credentials used by the client to authenticate to
the TLS server."; the TLS server.";
choice auth-type { choice auth-type {
description description
"The authentication type."; "The authentication type.";
leaf certificate { container certificate {
type leafref { uses ks:private-key-grouping;
path "/ks:keystore/ks:keys/ks:key/ks:certificates" uses ks:certificate-grouping;
+ "/ks:certificate/ks:name";
}
description description
"A certificates to be used for user authentication."; "Choice statement for future augmentations.";
} }
} }
} }
container server-auth { container server-auth {
must 'pinned-ca-certs or pinned-server-certs'; must 'pinned-ca-certs or pinned-server-certs';
description description
"Trusted server identities."; "Trusted server identities.";
leaf pinned-ca-certs { leaf pinned-ca-certs {
type leafref { type ks:pinned-certificates;
path "/ks:keystore/ks:pinned-certificates/ks:name";
}
description description
"A reference to a list of certificate authority (CA) "A reference to a list of certificate authority (CA)
certificates used by the TLS client to authenticate certificates used by the TLS client to authenticate
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
TLS server certificates. A server certificate is TLS server certificates. A server certificate is
authenticated if it has a valid chain of trust to authenticated if it has a valid chain of trust to
a configured pinned CA certificate."; a configured pinned CA certificate.";
} }
leaf pinned-server-certs { leaf pinned-server-certs {
type leafref { type ks:pinned-certificates;
path "/ks:keystore/ks:pinned-certificates/ks:name";
}
description description
"A reference to a list of server certificates used by "A reference to a list of server certificates used by
the TLS client to authenticate TLS server certificates. the TLS client to authenticate TLS server certificates.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
A server certificate is authenticated if it is an A server certificate is authenticated if it is an
exact match to a configured pinned server certificate."; exact match to a configured pinned server certificate.";
} }
} }
container hello-params { container hello-params {
if-feature tls-client-hello-params-config; if-feature tls-client-hello-params-config;
uses tlscmn:hello-params-grouping; uses tlscmn:hello-params-grouping;
description description
"Configurable parameters for the TLS hello message."; "Configurable parameters for the TLS hello message.";
} }
} // end tls-client-grouping } // end tls-client-grouping
} }
<CODE ENDS> <CODE ENDS>
3. The TLS Server Model 4. The TLS Server Model
The TLS server model presented in this section contains one YANG The TLS server model presented in this section contains one YANG
grouping, for just the TLS-level configuration, omitting, for grouping, for just the TLS-level configuration, omitting, for
instance, configuration for which ports to open to listen for instance, configuration for which ports to open to listen for
connections on. connections on.
This grouping references data nodes defined by the keystore model This grouping references data nodes defined by the keystore model
[I-D.ietf-netconf-keystore]. For instance, a reference to the [I-D.ietf-netconf-keystore]. For instance, a reference to the
keystore model is made to indicate which certificate a server should keystore model is made to indicate which certificate a server should
present. present.
3.1. Tree Diagram 4.1. Tree Diagram
The following tree diagram presents the data model for the grouping The following tree diagram [I-D.ietf-netmod-yang-tree-diagrams]
defined in the ietf-tls-server module. Please see Section 1.2 for provides an overview of the data model for the "ietf-tls-server"
tree diagram notation. module.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
module: ietf-tls-server module: ietf-tls-server
grouping tls-server-grouping grouping tls-server-grouping
+---- certificates +---- server-identity
| +---- certificate* [name] | +---- algorithm? identityref
| +---- name? leafref | +---- private-key? union
| +---- public-key? binary
| +---x generate-private-key
| | +---w input
| | +---w algorithm identityref
| +---- certificates
| | +---- certificate* [name]
| | +---- name? string
| | +---- value? binary
| +---x generate-certificate-signing-request
| +---w input
| | +---w subject binary
| | +---w attributes? binary
| +--ro output
| +--ro certificate-signing-request binary
+---- client-auth +---- client-auth
| +---- pinned-ca-certs? | +---- pinned-ca-certs? ks:pinned-certificates
| | -> /ks:keystore/pinned-certificates/name | +---- pinned-client-certs? ks:pinned-certificates
| +---- pinned-client-certs?
| -> /ks:keystore/pinned-certificates/name
+---- hello-params {tls-server-hello-params-config}? +---- hello-params {tls-server-hello-params-config}?
+---- tls-versions +---- tls-versions
| +---- tls-version* identityref | +---- tls-version* identityref
+---- cipher-suites +---- cipher-suites
+---- cipher-suite* identityref +---- cipher-suite* identityref
3.2. Example Usage 4.2. Example Usage
This section shows how it would appear if the tls-server-grouping This section shows how it would appear if the tls-server-grouping
were populated with some data. This example is consistent with the were populated with some data. This example is consistent with the
examples presented in Section 2.2 of [I-D.ietf-netconf-keystore]. examples presented in Section 2.2 of [I-D.ietf-netconf-keystore].
<tls-server xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-server"> Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
<!-- how this server will authenticate itself to the client --> [ note: '\' line wrapping for formatting only]
<certificates>
<certificate>
<name>tls-ec-cert</name>
</certificate>
</certificates>
<!-- which certificates will this server trust --> <tls-server xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-server">
<client-auth>
<pinned-ca-certs>deployment-specific-ca-certs</pinned-ca-certs>
<pinned-client-certs>explicitly-trusted-client-certs</pinned-client-certs>
</client-auth>
</tls-server> <!-- how this server will authenticate itself to the client -->
<server-identity>
<algorithm xmlns:ks="urn:ietf:params:xml:ns:yang:ietf-keystore">k\
s:secp521r1</algorithm>
<private-key>base64encodedvalue==</private-key>
<public-key>base64encodedvalue==</public-key>
<certificates>
<certificate>
<name>domain certificate</name>
<value>base64encodedvalue==</value>
</certificate>
</certificates>
</server-identity>
3.3. YANG Model <!-- which certificates will this server trust -->
<client-auth>
<pinned-ca-certs>deployment-specific-ca-certs</pinned-ca-certs>
<pinned-client-certs>explicitly-trusted-client-certs</pinned-clie\
nt-certs>
</client-auth>
</tls-server>
4.3. YANG Module
This YANG module has a normative references to [RFC6991], and This YANG module has a normative references to [RFC6991], and
[I-D.ietf-netconf-keystore]. [I-D.ietf-netconf-keystore].
<CODE BEGINS> file "ietf-tls-server@2017-10-19.yang" <CODE BEGINS> file "ietf-tls-server@2017-10-30.yang"
module ietf-tls-server { module ietf-tls-server {
yang-version 1.1; yang-version 1.1;
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
namespace "urn:ietf:params:xml:ns:yang:ietf-tls-server"; namespace "urn:ietf:params:xml:ns:yang:ietf-tls-server";
prefix "tlss"; prefix "tlss";
import ietf-tls-common { import ietf-tls-common {
prefix tlscmn; prefix tlscmn;
revision-date 2017-10-19; // stable grouping definitions revision-date 2017-10-30; // stable grouping definitions
reference reference
"RFC XXXX: YANG Groupings for TLS Clients and TLS Servers"; "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
} }
import ietf-keystore { import ietf-keystore {
prefix ks; prefix ks;
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
reference reference
"RFC YYYY: Keystore Model"; "RFC YYYY: Keystore Model";
} }
organization organization
"IETF NETCONF (Network Configuration) Working Group"; "IETF NETCONF (Network Configuration) Working Group";
contact contact
"WG Web: <http://tools.ietf.org/wg/netconf/> "WG Web: <http://tools.ietf.org/wg/netconf/>
WG List: <mailto:netconf@ietf.org> WG List: <mailto:netconf@ietf.org>
skipping to change at page 10, line 53 skipping to change at page 12, line 41
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's License set forth in Section 4.c of the IETF Trust's
Legal Provisions Relating to IETF Documents Legal Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2017-10-19" { revision "2017-10-30" {
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
description description
"Initial version"; "Initial version";
reference reference
"RFC XXXX: YANG Groupings for TLS Clients and TLS Servers"; "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
} }
// features
feature tls-server-hello-params-config { feature tls-server-hello-params-config {
description description
"TLS hello message parameters are configurable on a TLS "TLS hello message parameters are configurable on a TLS
server."; server.";
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
} }
// groupings // groupings
grouping tls-server-grouping { grouping tls-server-grouping {
description description
"A reusable grouping for configuring a TLS server without "A reusable grouping for configuring a TLS server without
any consideration for how underlying TCP sessions are any consideration for how underlying TCP sessions are
established."; established.";
container certificates { container server-identity {
description description
"The list of certificates the TLS server will present when "The list of certificates the TLS server will present when
establishing a TLS connection in its Certificate message, establishing a TLS connection in its Certificate message,
as defined in Section 7.4.2 in RFC 5246."; as defined in Section 7.4.2 in RFC 5246.";
reference reference
"RFC 5246: "RFC 5246:
The Transport Layer Security (TLS) Protocol Version 1.2"; The Transport Layer Security (TLS) Protocol Version 1.2";
list certificate { uses ks:private-key-grouping;
key name; uses ks:certificate-grouping;
min-elements 1;
description
"An unordered list of certificates the TLS server can pick
from when sending its Server Certificate message.";
reference
"RFC 5246: The TLS Protocol, Section 7.4.2";
leaf name {
type leafref {
path "/ks:keystore/ks:keys/ks:key/ks:certificates/"
+ "ks:certificate/ks:name";
}
description
"The name of the certificate in the keystore.";
}
}
} }
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
container client-auth { container client-auth {
description description
"A reference to a list of pinned certificate authority (CA) "A reference to a list of pinned certificate authority (CA)
certificates and a reference to a list of pinned client certificates and a reference to a list of pinned client
certificates."; certificates.";
leaf pinned-ca-certs { leaf pinned-ca-certs {
type leafref { type ks:pinned-certificates;
path "/ks:keystore/ks:pinned-certificates/ks:name";
}
description description
"A reference to a list of certificate authority (CA) "A reference to a list of certificate authority (CA)
certificates used by the TLS server to authenticate certificates used by the TLS server to authenticate
TLS client certificates. A client certificate is TLS client certificates. A client certificate is
authenticated if it has a valid chain of trust to authenticated if it has a valid chain of trust to
a configured pinned CA certificate."; a configured pinned CA certificate.";
} }
leaf pinned-client-certs { leaf pinned-client-certs {
type leafref { type ks:pinned-certificates;
path "/ks:keystore/ks:pinned-certificates/ks:name";
}
description description
"A reference to a list of client certificates used by "A reference to a list of client certificates used by
the TLS server to authenticate TLS client certificates. the TLS server to authenticate TLS client certificates.
A clients certificate is authenticated if it is an A clients certificate is authenticated if it is an
exact match to a configured pinned client certificate."; exact match to a configured pinned client certificate.";
} }
} }
container hello-params { container hello-params {
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
if-feature tls-server-hello-params-config; if-feature tls-server-hello-params-config;
uses tlscmn:hello-params-grouping; uses tlscmn:hello-params-grouping;
description description
"Configurable parameters for the TLS hello message."; "Configurable parameters for the TLS hello message.";
} }
} // end tls-server-grouping } // end tls-server-grouping
} }
<CODE ENDS> <CODE ENDS>
4. The TLS Common Model 5. The TLS Common Model
The TLS common model presented in this section contains identities The TLS common model presented in this section contains identities
and groupings common to both TLS clients and TLS servers. The hello- and groupings common to both TLS clients and TLS servers. The hello-
params-grouping can be used to configure the list of TLS algorithms params-grouping can be used to configure the list of TLS algorithms
permitted by the TLS client or TLS server. The lists of algorithms permitted by the TLS client or TLS server. The lists of algorithms
are ordered such that, if multiple algorithms are permitted by the are ordered such that, if multiple algorithms are permitted by the
client, the algorithm that appears first in its list that is also client, the algorithm that appears first in its list that is also
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
permitted by the server is used for the TLS transport layer permitted by the server is used for the TLS transport layer
connection. The ability to restrict the the algorithms allowed is connection. The ability to restrict the the algorithms allowed is
provided in this grouping for TLS clients and TLS servers that are provided in this grouping for TLS clients and TLS servers that are
capable of doing so and may serve to make TLS clients and TLS servers capable of doing so and may serve to make TLS clients and TLS servers
compliant with security policies. compliant with security policies.
Features are defined for algorithms that are OPTIONAL or are not Features are defined for algorithms that are OPTIONAL or are not
widely supported by popular implementations. Note that the list of widely supported by popular implementations. Note that the list of
algorithms is not exhaustive. algorithms is not exhaustive.
4.1. Tree Diagram 5.1. Tree Diagram
The following tree diagram presents the data model for the grouping The following tree diagram [I-D.ietf-netmod-yang-tree-diagrams]
defined in the ietf-tls-common module. Please see Section 1.2 for provides an overview of the data model for the "ietf-tls-common"
tree diagram notation. module.
module: ietf-tls-common module: ietf-tls-common
grouping hello-params-grouping grouping hello-params-grouping
+---- tls-versions +---- tls-versions
| +---- tls-version* identityref | +---- tls-version* identityref
+---- cipher-suites +---- cipher-suites
+---- cipher-suite* identityref +---- cipher-suite* identityref
4.2. Example Usage 5.2. Example Usage
This section shows how it would appear if the transport-params- This section shows how it would appear if the transport-params-
grouping were populated with some data. grouping were populated with some data.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
<!-- hypothetical example, as groupings don't have instance data --> <!-- hypothetical example, as groupings don't have instance data -->
<hello-params <hello-params
xmlns="urn:ietf:params:xml:ns:yang:ietf-tls-common"
xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common"> xmlns:tlscmn="urn:ietf:params:xml:ns:yang:ietf-tls-common">
<tls-versions> <tls-versions>
<tls-version>tlscmn:tls-1.1</tls-version> <tls-version>tlscmn:tls-1.1</tls-version>
<tls-version>tlscmn:tls-1.2</tls-version> <tls-version>tlscmn:tls-1.2</tls-version>
</tls-versions> </tls-versions>
<cipher-suites> <cipher-suites>
<cipher-suite>tlscmn:dhe-rsa-with-aes-128-cbc-sha</cipher-suite> <cipher-suite>tlscmn:dhe-rsa-with-aes-128-cbc-sha</cipher-suite>
<cipher-suite>tlscmn:rsa-with-aes-128-cbc-sha</cipher-suite> <cipher-suite>tlscmn:rsa-with-aes-128-cbc-sha</cipher-suite>
<cipher-suite>tlscmn:rsa-with-3des-ede-cbc-sha</cipher-suite> <cipher-suite>tlscmn:rsa-with-3des-ede-cbc-sha</cipher-suite>
</cipher-suites> </cipher-suites>
</hello-params> </hello-params>
4.3. YANG Model 5.3. YANG Module
This YANG module has a normative references to [RFC2246], [RFC4346], This YANG module has a normative references to [RFC2246], [RFC4346],
[RFC4492], [RFC5246], [RFC5288], and [RFC5289]. [RFC4492], [RFC5246], [RFC5288], and [RFC5289].
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 <CODE BEGINS> file "ietf-tls-common@2017-10-30.yang"
<CODE BEGINS> file "ietf-tls-common@2017-10-19.yang"
module ietf-tls-common { module ietf-tls-common {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-tls-common"; namespace "urn:ietf:params:xml:ns:yang:ietf-tls-common";
prefix "tlscmn"; prefix "tlscmn";
organization organization
"IETF NETCONF (Network Configuration) Working Group"; "IETF NETCONF (Network Configuration) Working Group";
contact contact
skipping to change at page 14, line 34 skipping to change at page 16, line 5
Author: Gary Wu Author: Gary Wu
<mailto:garywu@cisco.com>"; <mailto:garywu@cisco.com>";
description description
"This module defines a common features, identities, and groupings "This module defines a common features, identities, and groupings
for Transport Layer Security (TLS). for Transport Layer Security (TLS).
Copyright (c) 2017 IETF Trust and the persons identified as Copyright (c) 2017 IETF Trust and the persons identified as
authors of the code. All rights reserved. authors of the code. All rights reserved.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's License set forth in Section 4.c of the IETF Trust's
Legal Provisions Relating to IETF Documents Legal Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2017-10-19" { revision "2017-10-30" {
description description
"Initial version"; "Initial version";
reference reference
"RFC XXXX: YANG Groupings for TLS Clients and TLS Servers"; "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
} }
// features // features
feature tls-1_0 { feature tls-1_0 {
description description
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
"TLS Protocol Version 1.0 is supported."; "TLS Protocol Version 1.0 is supported.";
reference reference
"RFC 2246: The TLS Protocol Version 1.0"; "RFC 2246: The TLS Protocol Version 1.0";
} }
feature tls-1_1 { feature tls-1_1 {
description description
"TLS Protocol Version 1.1 is supported."; "TLS Protocol Version 1.1 is supported.";
reference reference
"RFC 4346: The Transport Layer Security (TLS) Protocol "RFC 4346: The Transport Layer Security (TLS) Protocol
skipping to change at page 15, line 34 skipping to change at page 17, line 4
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
feature tls-ecc { feature tls-ecc {
description description
"Elliptic Curve Cryptography (ECC) is supported for TLS."; "Elliptic Curve Cryptography (ECC) is supported for TLS.";
reference reference
"RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites "RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites
for Transport Layer Security (TLS)"; for Transport Layer Security (TLS)";
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
} }
feature tls-dhe { feature tls-dhe {
description description
"Ephemeral Diffie-Hellman key exchange is supported for TLS."; "Ephemeral Diffie-Hellman key exchange is supported for TLS.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
skipping to change at page 16, line 4 skipping to change at page 17, line 28
description description
"The Triple-DES block cipher is supported for TLS."; "The Triple-DES block cipher is supported for TLS.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
feature tls-gcm { feature tls-gcm {
description description
"The Galois/Counter Mode authenticated encryption mode is "The Galois/Counter Mode authenticated encryption mode is
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
supported for TLS."; supported for TLS.";
reference reference
"RFC 5288: AES Galois Counter Mode (GCM) Cipher Suites for "RFC 5288: AES Galois Counter Mode (GCM) Cipher Suites for
TLS"; TLS";
} }
feature tls-sha2 { feature tls-sha2 {
description description
"The SHA2 family of cryptographic hash functions is supported "The SHA2 family of cryptographic hash functions is supported
for TLS."; for TLS.";
skipping to change at page 16, line 33 skipping to change at page 18, line 4
description description
"Base identity used to identify TLS protocol versions."; "Base identity used to identify TLS protocol versions.";
} }
identity tls-1.0 { identity tls-1.0 {
base tls-version-base; base tls-version-base;
if-feature tls-1_0; if-feature tls-1_0;
description description
"TLS Protocol Version 1.0."; "TLS Protocol Version 1.0.";
reference reference
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
"RFC 2246: The TLS Protocol Version 1.0"; "RFC 2246: The TLS Protocol Version 1.0";
} }
identity tls-1.1 { identity tls-1.1 {
base tls-version-base; base tls-version-base;
if-feature tls-1_1; if-feature tls-1_1;
description description
"TLS Protocol Version 1.1."; "TLS Protocol Version 1.1.";
reference reference
"RFC 4346: The Transport Layer Security (TLS) Protocol "RFC 4346: The Transport Layer Security (TLS) Protocol
skipping to change at page 17, line 5 skipping to change at page 18, line 30
identity tls-1.2 { identity tls-1.2 {
base tls-version-base; base tls-version-base;
if-feature tls-1_2; if-feature tls-1_2;
description description
"TLS Protocol Version 1.2."; "TLS Protocol Version 1.2.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
identity cipher-suite-base { identity cipher-suite-base {
description description
"Base identity used to identify TLS cipher suites."; "Base identity used to identify TLS cipher suites.";
} }
identity rsa-with-aes-128-cbc-sha { identity rsa-with-aes-128-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
description description
"Cipher suite TLS_RSA_WITH_AES_128_CBC_SHA."; "Cipher suite TLS_RSA_WITH_AES_128_CBC_SHA.";
reference reference
skipping to change at page 17, line 32 skipping to change at page 19, line 4
base cipher-suite-base; base cipher-suite-base;
description description
"Cipher suite TLS_RSA_WITH_AES_256_CBC_SHA."; "Cipher suite TLS_RSA_WITH_AES_256_CBC_SHA.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
identity rsa-with-aes-128-cbc-sha256 { identity rsa-with-aes-128-cbc-sha256 {
base cipher-suite-base; base cipher-suite-base;
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
if-feature tls-sha2; if-feature tls-sha2;
description description
"Cipher suite TLS_RSA_WITH_AES_128_CBC_SHA256."; "Cipher suite TLS_RSA_WITH_AES_128_CBC_SHA256.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
identity rsa-with-aes-256-cbc-sha256 { identity rsa-with-aes-256-cbc-sha256 {
base cipher-suite-base; base cipher-suite-base;
skipping to change at page 18, line 4 skipping to change at page 19, line 30
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
identity dhe-rsa-with-aes-128-cbc-sha { identity dhe-rsa-with-aes-128-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature tls-dhe; if-feature tls-dhe;
description description
"Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA."; "Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA.";
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
identity dhe-rsa-with-aes-256-cbc-sha { identity dhe-rsa-with-aes-256-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature tls-dhe; if-feature tls-dhe;
description description
"Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA."; "Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA.";
skipping to change at page 18, line 32 skipping to change at page 20, line 5
identity dhe-rsa-with-aes-128-cbc-sha256 { identity dhe-rsa-with-aes-128-cbc-sha256 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-dhe and tls-sha2"; if-feature "tls-dhe and tls-sha2";
description description
"Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256."; "Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
identity dhe-rsa-with-aes-256-cbc-sha256 { identity dhe-rsa-with-aes-256-cbc-sha256 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-dhe and tls-sha2"; if-feature "tls-dhe and tls-sha2";
description description
"Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256."; "Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
skipping to change at page 19, line 4 skipping to change at page 20, line 30
description description
"Cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256."; "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
} }
identity ecdhe-ecdsa-with-aes-256-cbc-sha384 { identity ecdhe-ecdsa-with-aes-256-cbc-sha384 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-sha2"; if-feature "tls-ecc and tls-sha2";
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
description description
"Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384."; "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
} }
identity ecdhe-rsa-with-aes-128-cbc-sha256 { identity ecdhe-rsa-with-aes-128-cbc-sha256 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-sha2"; if-feature "tls-ecc and tls-sha2";
skipping to change at page 19, line 32 skipping to change at page 21, line 4
} }
identity ecdhe-rsa-with-aes-256-cbc-sha384 { identity ecdhe-rsa-with-aes-256-cbc-sha384 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-sha2"; if-feature "tls-ecc and tls-sha2";
description description
"Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384."; "Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
} }
identity ecdhe-ecdsa-with-aes-128-gcm-sha256 { identity ecdhe-ecdsa-with-aes-128-gcm-sha256 {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-gcm and tls-sha2"; if-feature "tls-ecc and tls-gcm and tls-sha2";
description description
"Cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256."; "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
skipping to change at page 20, line 4 skipping to change at page 21, line 30
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-gcm and tls-sha2"; if-feature "tls-ecc and tls-gcm and tls-sha2";
description description
"Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384."; "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
} }
identity ecdhe-rsa-with-aes-128-gcm-sha256 { identity ecdhe-rsa-with-aes-128-gcm-sha256 {
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-gcm and tls-sha2"; if-feature "tls-ecc and tls-gcm and tls-sha2";
description description
"Cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256."; "Cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.";
reference reference
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
} }
identity ecdhe-rsa-with-aes-256-gcm-sha384 { identity ecdhe-rsa-with-aes-256-gcm-sha384 {
skipping to change at page 20, line 32 skipping to change at page 22, line 4
"RFC 5289: TLS Elliptic Curve Cipher Suites with "RFC 5289: TLS Elliptic Curve Cipher Suites with
SHA-256/384 and AES Galois Counter Mode (GCM)"; SHA-256/384 and AES Galois Counter Mode (GCM)";
} }
identity rsa-with-3des-ede-cbc-sha { identity rsa-with-3des-ede-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature tls-3des; if-feature tls-3des;
description description
"Cipher suite TLS_RSA_WITH_3DES_EDE_CBC_SHA."; "Cipher suite TLS_RSA_WITH_3DES_EDE_CBC_SHA.";
reference reference
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
} }
identity ecdhe-rsa-with-3des-ede-cbc-sha { identity ecdhe-rsa-with-3des-ede-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc and tls-3des"; if-feature "tls-ecc and tls-3des";
description description
"Cipher suite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA."; "Cipher suite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA.";
reference reference
skipping to change at page 21, line 5 skipping to change at page 22, line 31
identity ecdhe-rsa-with-aes-128-cbc-sha { identity ecdhe-rsa-with-aes-128-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc"; if-feature "tls-ecc";
description description
"Cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA."; "Cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA.";
reference reference
"RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites "RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites
for Transport Layer Security (TLS)"; for Transport Layer Security (TLS)";
} }
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
identity ecdhe-rsa-with-aes-256-cbc-sha { identity ecdhe-rsa-with-aes-256-cbc-sha {
base cipher-suite-base; base cipher-suite-base;
if-feature "tls-ecc"; if-feature "tls-ecc";
description description
"Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA."; "Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA.";
reference reference
"RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites "RFC 4492: Elliptic Curve Cryptography (ECC) Cipher Suites
for Transport Layer Security (TLS)"; for Transport Layer Security (TLS)";
} }
skipping to change at page 21, line 31 skipping to change at page 23, line 4
"A reusable grouping for TLS hello message parameters."; "A reusable grouping for TLS hello message parameters.";
reference reference
"RFC 5246: The Transport Layer Security (TLS) Protocol "RFC 5246: The Transport Layer Security (TLS) Protocol
Version 1.2"; Version 1.2";
container tls-versions { container tls-versions {
description description
"Parameters regarding TLS versions."; "Parameters regarding TLS versions.";
leaf-list tls-version { leaf-list tls-version {
type identityref { type identityref {
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
base tls-version-base; base tls-version-base;
} }
description description
"Acceptable TLS protocol versions. "Acceptable TLS protocol versions.
If this leaf-list is not configured (has zero elements) If this leaf-list is not configured (has zero elements)
the acceptable TLS protocol versions are implementation- the acceptable TLS protocol versions are implementation-
defined."; defined.";
} }
} }
skipping to change at page 22, line 4 skipping to change at page 23, line 31
type identityref { type identityref {
base cipher-suite-base; base cipher-suite-base;
} }
ordered-by user; ordered-by user;
description description
"Acceptable cipher suites in order of descending "Acceptable cipher suites in order of descending
preference. preference.
If this leaf-list is not configured (has zero elements) If this leaf-list is not configured (has zero elements)
the acceptable cipher suites are implementation- the acceptable cipher suites are implementation-
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
defined."; defined.";
} }
} }
} // end hello-params-grouping } // end hello-params-grouping
} }
<CODE ENDS> <CODE ENDS>
5. Security Considerations 6. Security Considerations
The YANG modules defined in this document are designed to be accessed The YANG modules defined in this document are designed to be accessed
via YANG based management protocols, such as NETCONF [RFC6241] and via YANG based management protocols, such as NETCONF [RFC6241] and
RESTCONF [RFC8040]. Both of these protocols have mandatory-to- RESTCONF [RFC8040]. Both of these protocols have mandatory-to-
implement secure transport layers (e.g., SSH, TLS) with mutual implement secure transport layers (e.g., SSH, TLS) with mutual
authentication. authentication.
The NETCONF access control model (NACM) [RFC6536] provides the means The NETCONF access control model (NACM) [RFC6536] provides the means
to restrict access for particular users to a pre-configured subset of to restrict access for particular users to a pre-configured subset of
all available protocol operations and content. all available protocol operations and content.
Since the modules defined in this document only define groupings, Since the modules defined in this document only define groupings,
these considerations are primarily for the designers of other modules these considerations are primarily for the designers of other modules
that use these groupings. that use these groupings.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
There are a number of data nodes defined in the YANG modules that are There are a number of data nodes defined in the YANG modules that are
writable/creatable/deletable (i.e., config true, which is the writable/creatable/deletable (i.e., config true, which is the
default). These data nodes may be considered sensitive or vulnerable default). These data nodes may be considered sensitive or vulnerable
in some network environments. Write operations (e.g., edit-config) in some network environments. Write operations (e.g., edit-config)
to these data nodes without proper protection can have a negative to these data nodes without proper protection can have a negative
effect on network operations. These are the subtrees and data nodes effect on network operations. These are the subtrees and data nodes
and their sensitivity/vulnerability: and their sensitivity/vulnerability:
/: The entire data tree of all the groupings defined in this draft /: The entire data tree of all the groupings defined in this draft
is sensitive to write operations. For instance, the addition is sensitive to write operations. For instance, the addition
skipping to change at page 23, line 5 skipping to change at page 24, line 31
session'. session'.
Some of the readable data nodes in the YANG modules may be considered Some of the readable data nodes in the YANG modules may be considered
sensitive or vulnerable in some network environments. It is thus sensitive or vulnerable in some network environments. It is thus
important to control read access (e.g., via get, get-config, or important to control read access (e.g., via get, get-config, or
notification) to these data nodes. These are the subtrees and data notification) to these data nodes. These are the subtrees and data
nodes and their sensitivity/vulnerability: nodes and their sensitivity/vulnerability:
NONE NONE
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Some of the RPC operations in this YANG module may be considered Some of the RPC operations in this YANG module may be considered
sensitive or vulnerable in some network environments. It is thus sensitive or vulnerable in some network environments. It is thus
important to control access to these operations. These are the important to control access to these operations. These are the
operations and their sensitivity/vulnerability: operations and their sensitivity/vulnerability:
NONE NONE
6. IANA Considerations 7. IANA Considerations
6.1. The IETF XML Registry 7.1. The IETF XML Registry
This document registers three URIs in the IETF XML registry This document registers three URIs in the IETF XML registry
[RFC3688]. Following the format in [RFC3688], the following [RFC3688]. Following the format in [RFC3688], the following
registrations are requested: registrations are requested:
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
URI: urn:ietf:params:xml:ns:yang:ietf-tls-client URI: urn:ietf:params:xml:ns:yang:ietf-tls-client
Registrant Contact: The NETCONF WG of the IETF. Registrant Contact: The NETCONF WG of the IETF.
XML: N/A, the requested URI is an XML namespace. XML: N/A, the requested URI is an XML namespace.
URI: urn:ietf:params:xml:ns:yang:ietf-tls-server URI: urn:ietf:params:xml:ns:yang:ietf-tls-server
Registrant Contact: The NETCONF WG of the IETF. Registrant Contact: The NETCONF WG of the IETF.
XML: N/A, the requested URI is an XML namespace. XML: N/A, the requested URI is an XML namespace.
URI: urn:ietf:params:xml:ns:yang:ietf-tls-common URI: urn:ietf:params:xml:ns:yang:ietf-tls-common
Registrant Contact: The NETCONF WG of the IETF. Registrant Contact: The NETCONF WG of the IETF.
XML: N/A, the requested URI is an XML namespace. XML: N/A, the requested URI is an XML namespace.
6.2. The YANG Module Names Registry 7.2. The YANG Module Names Registry
This document registers three YANG modules in the YANG Module Names This document registers three YANG modules in the YANG Module Names
registry [RFC7950]. Following the format in [RFC7950], the the registry [RFC7950]. Following the format in [RFC7950], the the
following registrations are requested: following registrations are requested:
name: ietf-tls-client name: ietf-tls-client
namespace: urn:ietf:params:xml:ns:yang:ietf-tls-client namespace: urn:ietf:params:xml:ns:yang:ietf-tls-client
prefix: tlsc prefix: tlsc
reference: RFC XXXX reference: RFC XXXX
name: ietf-tls-server name: ietf-tls-server
namespace: urn:ietf:params:xml:ns:yang:ietf-tls-server namespace: urn:ietf:params:xml:ns:yang:ietf-tls-server
prefix: tlss prefix: tlss
reference: RFC XXXX reference: RFC XXXX
name: ietf-tls-common name: ietf-tls-common
namespace: urn:ietf:params:xml:ns:yang:ietf-tls-common namespace: urn:ietf:params:xml:ns:yang:ietf-tls-common
prefix: tlscmn prefix: tlscmn
reference: RFC XXXX reference: RFC XXXX
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 8. Acknowledgements
7. Acknowledgements
The authors would like to thank for following for lively discussions The authors would like to thank for following for lively discussions
on list and in the halls (ordered by last name): Andy Bierman, Martin on list and in the halls (ordered by last name): Andy Bierman, Martin
Bjorklund, Benoit Claise, Mehmet Ersue, Balazs Kovacs, David Bjorklund, Benoit Claise, Mehmet Ersue, Balazs Kovacs, David
Lamparter, Alan Luchuk, Ladislav Lhotka, Radek Krejci, Tom Petch, Lamparter, Alan Luchuk, Ladislav Lhotka, Radek Krejci, Tom Petch,
Juergen Schoenwaelder, Phil Shafer, Sean Turner, and Bert Wijnen. Juergen Schoenwaelder, Phil Shafer, Sean Turner, and Bert Wijnen.
8. References 9. References
8.1. Normative References 9.1. Normative References
[I-D.ietf-netconf-keystore] [I-D.ietf-netconf-keystore]
Watsen, K., "Keystore Model", draft-ietf-netconf- Watsen, K., "Keystore Model", draft-ietf-netconf-
keystore-02 (work in progress), June 2017. keystore-02 (work in progress), June 2017.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997, DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>. <https://www.rfc-editor.org/info/rfc2119>.
[RFC2246] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0", [RFC2246] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0",
RFC 2246, DOI 10.17487/RFC2246, January 1999, RFC 2246, DOI 10.17487/RFC2246, January 1999,
<https://www.rfc-editor.org/info/rfc2246>. <https://www.rfc-editor.org/info/rfc2246>.
[RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security [RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security
skipping to change at page 25, line 5 skipping to change at page 26, line 37
[RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security [RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", RFC 5246, (TLS) Protocol Version 1.2", RFC 5246,
DOI 10.17487/RFC5246, August 2008, DOI 10.17487/RFC5246, August 2008,
<https://www.rfc-editor.org/info/rfc5246>. <https://www.rfc-editor.org/info/rfc5246>.
[RFC5288] Salowey, J., Choudhury, A., and D. McGrew, "AES Galois [RFC5288] Salowey, J., Choudhury, A., and D. McGrew, "AES Galois
Counter Mode (GCM) Cipher Suites for TLS", RFC 5288, Counter Mode (GCM) Cipher Suites for TLS", RFC 5288,
DOI 10.17487/RFC5288, August 2008, DOI 10.17487/RFC5288, August 2008,
<https://www.rfc-editor.org/info/rfc5288>. <https://www.rfc-editor.org/info/rfc5288>.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
[RFC5289] Rescorla, E., "TLS Elliptic Curve Cipher Suites with SHA- [RFC5289] Rescorla, E., "TLS Elliptic Curve Cipher Suites with SHA-
256/384 and AES Galois Counter Mode (GCM)", RFC 5289, 256/384 and AES Galois Counter Mode (GCM)", RFC 5289,
DOI 10.17487/RFC5289, August 2008, DOI 10.17487/RFC5289, August 2008,
<https://www.rfc-editor.org/info/rfc5289>. <https://www.rfc-editor.org/info/rfc5289>.
[RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration [RFC6536] Bierman, A. and M. Bjorklund, "Network Configuration
Protocol (NETCONF) Access Control Model", RFC 6536, Protocol (NETCONF) Access Control Model", RFC 6536,
DOI 10.17487/RFC6536, March 2012, DOI 10.17487/RFC6536, March 2012,
<https://www.rfc-editor.org/info/rfc6536>. <https://www.rfc-editor.org/info/rfc6536>.
[RFC6991] Schoenwaelder, J., Ed., "Common YANG Data Types", [RFC6991] Schoenwaelder, J., Ed., "Common YANG Data Types",
RFC 6991, DOI 10.17487/RFC6991, July 2013, RFC 6991, DOI 10.17487/RFC6991, July 2013,
<https://www.rfc-editor.org/info/rfc6991>. <https://www.rfc-editor.org/info/rfc6991>.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
[RFC7589] Badra, M., Luchuk, A., and J. Schoenwaelder, "Using the [RFC7589] Badra, M., Luchuk, A., and J. Schoenwaelder, "Using the
NETCONF Protocol over Transport Layer Security (TLS) with NETCONF Protocol over Transport Layer Security (TLS) with
Mutual X.509 Authentication", RFC 7589, Mutual X.509 Authentication", RFC 7589,
DOI 10.17487/RFC7589, June 2015, DOI 10.17487/RFC7589, June 2015,
<https://www.rfc-editor.org/info/rfc7589>. <https://www.rfc-editor.org/info/rfc7589>.
[RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language",
RFC 7950, DOI 10.17487/RFC7950, August 2016, RFC 7950, DOI 10.17487/RFC7950, August 2016,
<https://www.rfc-editor.org/info/rfc7950>. <https://www.rfc-editor.org/info/rfc7950>.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>. May 2017, <https://www.rfc-editor.org/info/rfc8174>.
8.2. Informative References 9.2. Informative References
[I-D.ietf-netmod-yang-tree-diagrams]
Bjorklund, M. and L. Berger, "YANG Tree Diagrams", draft-
ietf-netmod-yang-tree-diagrams-02 (work in progress),
October 2017.
[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, [RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818,
DOI 10.17487/RFC2818, May 2000, DOI 10.17487/RFC2818, May 2000,
<https://www.rfc-editor.org/info/rfc2818>. <https://www.rfc-editor.org/info/rfc2818>.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
DOI 10.17487/RFC3688, January 2004, DOI 10.17487/RFC3688, January 2004,
<https://www.rfc-editor.org/info/rfc3688>. <https://www.rfc-editor.org/info/rfc3688>.
[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed.,
and A. Bierman, Ed., "Network Configuration Protocol and A. Bierman, Ed., "Network Configuration Protocol
(NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011,
<https://www.rfc-editor.org/info/rfc6241>. <https://www.rfc-editor.org/info/rfc6241>.
[RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF
Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017,
<https://www.rfc-editor.org/info/rfc8040>. <https://www.rfc-editor.org/info/rfc8040>.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
[RFC8071] Watsen, K., "NETCONF Call Home and RESTCONF Call Home", [RFC8071] Watsen, K., "NETCONF Call Home and RESTCONF Call Home",
RFC 8071, DOI 10.17487/RFC8071, February 2017, RFC 8071, DOI 10.17487/RFC8071, February 2017,
<https://www.rfc-editor.org/info/rfc8071>. <https://www.rfc-editor.org/info/rfc8071>.
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017 Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Appendix A. Change Log Appendix A. Change Log
A.1. server-model-09 to 00 A.1. 00 to 01
o This draft was split out from draft-ietf-netconf-server-model-09.
o Noted that '0.0.0.0' and '::' might have special meanings. o Noted that '0.0.0.0' and '::' might have special meanings.
A.2. 00 to 01
o Renamed "keychain" to "keystore". o Renamed "keychain" to "keystore".
A.3. 01 to 02 A.2. 01 to 02
o Removed the groupings containing transport-level configuration. o Removed the groupings containing transport-level configuration.
Now modules contain only the transport-independent groupings. Now modules contain only the transport-independent groupings.
o Filled in previously incomplete 'ietf-tls-client' module. o Filled in previously incomplete 'ietf-tls-client' module.
o Added cipher suites for various algorithms into new 'ietf-tls- o Added cipher suites for various algorithms into new 'ietf-tls-
common' module. common' module.
A.4. 02 to 03 A.3. 02 to 03
o Added a 'must' statement to container 'server-auth' asserting that o Added a 'must' statement to container 'server-auth' asserting that
at least one of the various auth mechanisms must be specified. at least one of the various auth mechanisms must be specified.
o Fixed description statement for leaf 'trusted-ca-certs'. o Fixed description statement for leaf 'trusted-ca-certs'.
A.5. 03 to 04 A.4. 03 to 04
o Updated title to "YANG Groupings for TLS Clients and TLS Servers" o Updated title to "YANG Groupings for TLS Clients and TLS Servers"
o Updated leafref paths to point to new keystore path o Updated leafref paths to point to new keystore path
o Changed the YANG prefix for ietf-tls-common from 'tlscom' to o Changed the YANG prefix for ietf-tls-common from 'tlscom' to
'tlscmn'. 'tlscmn'.
o Added TLS protocol verions 1.0 and 1.1. o Added TLS protocol verions 1.0 and 1.1.
o Made author lists consistent o Made author lists consistent
o Now tree diagrams reference ietf-netmod-yang-tree-diagrams
o Updated YANG to use typedefs around leafrefs to common keystore
paths
o Now inlines key and certificates (no longer a leafref to keystore)
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Authors' Addresses Authors' Addresses
Kent Watsen Kent Watsen
Juniper Networks Juniper Networks
EMail: kwatsen@juniper.net EMail: kwatsen@juniper.net
Internet-DrafYANG Groupings for TLS Clients and TLS Servers October 2017
Gary Wu Gary Wu
Cisco Systems Cisco Systems
EMail: garywu@cisco.com EMail: garywu@cisco.com
 End of changes. 107 change blocks. 
230 lines changed or deleted 250 lines changed or added

This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/