<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RestconfServiceprovider api for secure connections in Tools</title>
    <link>https://community.cisco.com/t5/tools/restconfserviceprovider-api-for-secure-connections/m-p/4034943#M2047</link>
    <description>&lt;P&gt;I am trying use the&amp;nbsp;RestconfServiceprovider API for secure connection to rest-server.&lt;/P&gt;&lt;P&gt;provider = RestconfServiceProvider(repo=repository,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;address="10.11.5.5,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;port=443,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;username="admin",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password="admin",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encoding=EncodingFormat.JSON)&lt;/P&gt;&lt;P&gt;crud = CRUDService()&lt;BR /&gt;ifs = oc_if.Interfaces()&lt;BR /&gt;intf = oc_if.Interfaces.Interface()&lt;BR /&gt;intf.name="eth0"&lt;BR /&gt;ifs.interface.append(intf)&lt;BR /&gt;all_ifs = crud.read(provider, ifs)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;rest-server error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#: rest-server 2020/02/24 20:44:50 http: TLS handshake error from 10.14.8.105:38676: tls: first record does not look like a TLS handshake&lt;BR /&gt;#: rest-server 2020/02/24 20:44:50 http: TLS handshake error from 10.14.8.105:38678: tls: first record does not look like a TLS handshake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Is this API supported for the generated yang APIs.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; How to set this request as secure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Are there any examples for restconfserviceprovider usage.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 20:45:43 GMT</pubDate>
    <dc:creator>ydkdev</dc:creator>
    <dc:date>2020-02-24T20:45:43Z</dc:date>
    <item>
      <title>RestconfServiceprovider api for secure connections</title>
      <link>https://community.cisco.com/t5/tools/restconfserviceprovider-api-for-secure-connections/m-p/4034943#M2047</link>
      <description>&lt;P&gt;I am trying use the&amp;nbsp;RestconfServiceprovider API for secure connection to rest-server.&lt;/P&gt;&lt;P&gt;provider = RestconfServiceProvider(repo=repository,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;address="10.11.5.5,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;port=443,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;username="admin",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password="admin",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encoding=EncodingFormat.JSON)&lt;/P&gt;&lt;P&gt;crud = CRUDService()&lt;BR /&gt;ifs = oc_if.Interfaces()&lt;BR /&gt;intf = oc_if.Interfaces.Interface()&lt;BR /&gt;intf.name="eth0"&lt;BR /&gt;ifs.interface.append(intf)&lt;BR /&gt;all_ifs = crud.read(provider, ifs)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;rest-server error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#: rest-server 2020/02/24 20:44:50 http: TLS handshake error from 10.14.8.105:38676: tls: first record does not look like a TLS handshake&lt;BR /&gt;#: rest-server 2020/02/24 20:44:50 http: TLS handshake error from 10.14.8.105:38678: tls: first record does not look like a TLS handshake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Is this API supported for the generated yang APIs.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; How to set this request as secure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Are there any examples for restconfserviceprovider usage.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 20:45:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/restconfserviceprovider-api-for-secure-connections/m-p/4034943#M2047</guid>
      <dc:creator>ydkdev</dc:creator>
      <dc:date>2020-02-24T20:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: RestconfServiceprovider api for secure connections</title>
      <link>https://community.cisco.com/t5/tools/restconfserviceprovider-api-for-secure-connections/m-p/4035582#M2048</link>
      <description>&lt;P&gt;The issue is that YDK currently does not support secure connection to Restconf server. This issue was documented on &lt;A href="https://github.com/CiscoDevNet/ydk-gen/issues/917" target="_self"&gt;GitHub,&lt;/A&gt;&amp;nbsp;but, so far there are no resources assigned for its resolution.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 17:42:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/restconfserviceprovider-api-for-secure-connections/m-p/4035582#M2048</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-02-25T17:42:14Z</dc:date>
    </item>
  </channel>
</rss>

