aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/engine/templates/ietf-netconf-server.xml
blob: a6b6bedb1ae2b47e8417164075003ddf900d8aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
  <listen>
    <endpoint>
      <name>tls_listen_endpt</name>
      <tls>
        <address>0.0.0.0</address>
        <port>6513</port>
        <certificates>
          <certificate>
            <name>server_cert</name>
          </certificate>
        </certificates>
        <client-auth>
          <trusted-ca-certs>trusted_ca_list</trusted-ca-certs>
          <cert-maps>
            <cert-to-name>
              <id>1</id>
              <fingerprint></fingerprint>
              <map-type xmlns:x509c2n="urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name">x509c2n:specified</map-type>
              <name>netconf</name>
            </cert-to-name>
          </cert-maps>
        </client-auth>
      </tls>
    </endpoint>
  </listen>
</netconf-server>