<?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 Re: Error using Python NMSDK 5.4 to connect to OnCommand 6.3 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Error-using-Python-NMSDK-5-4-to-connect-to-OnCommand-6-3/m-p/113099#M1685</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I experienced the same.&lt;/P&gt;&lt;P&gt;Patch NaServer.py adding following &amp;nbsp;code at line 41&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Patch Verification Certificate Fail&lt;BR /&gt;ssl._create_default_https_context = ssl._create_unverified_context&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2015 09:57:12 GMT</pubDate>
    <dc:creator>francoisbnc</dc:creator>
    <dc:date>2015-11-30T09:57:12Z</dc:date>
    <item>
      <title>Error using Python NMSDK 5.4 to connect to OnCommand 6.3</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Error-using-Python-NMSDK-5-4-to-connect-to-OnCommand-6-3/m-p/112141#M1666</link>
      <description>&lt;P&gt;I'm trying to get a connection working through the Python SDK to OnCommand 6.3 . I believe we are running on the appliance. When I run the below script (essentially the hello world script in the documentation), I get this error: &lt;STRONG&gt;"Failed [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script (with host/username/password blocked out):&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;dfmserver&lt;/SPAN&gt; = &lt;SPAN&gt;'xxxxxx' &lt;/SPAN&gt;&lt;SPAN&gt;#OnCommand 6.3&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;dfmuser = &lt;SPAN&gt;'xxxxxx'&lt;BR /&gt;&lt;/SPAN&gt;dfmpw = &lt;SPAN&gt;'xxxxxx'&lt;BR /&gt;&lt;/SPAN&gt;s = NaServer(&lt;SPAN&gt;dfmserver&lt;/SPAN&gt;, &lt;SPAN&gt;1&lt;/SPAN&gt;, &lt;SPAN&gt;0&lt;/SPAN&gt;)&lt;BR /&gt;s.set_style(&lt;SPAN&gt;'LOGIN'&lt;/SPAN&gt;)&lt;BR /&gt;s.set_transport_type(&lt;SPAN&gt;'HTTPS'&lt;/SPAN&gt;)&lt;BR /&gt;s.set_server_type(&lt;SPAN&gt;'DFM'&lt;/SPAN&gt;)&lt;BR /&gt;s.set_port(&lt;SPAN&gt;443&lt;/SPAN&gt;)&lt;BR /&gt;s.set_admin_user(dfmuser, dfmpw)&lt;BR /&gt;&lt;BR /&gt;output = s.invoke(&lt;SPAN&gt;"dfm-about"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;(output.results_errno() != &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;    r = output.results_reason()&lt;BR /&gt;    &lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;"Failed " &lt;/SPAN&gt;+ &lt;SPAN&gt;str&lt;/SPAN&gt;(r) + &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;else &lt;/SPAN&gt;:&lt;BR /&gt;    r = output.child_get_string(&lt;SPAN&gt;"version"&lt;/SPAN&gt;)&lt;BR /&gt;    &lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;"Hello World ! DFM Server version is: " &lt;/SPAN&gt;+ r + &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given that I'm not using&amp;nbsp;a certificate to connect, I wonderif this is an OnCommand setting that needs to be tweaked. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:52:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Error-using-Python-NMSDK-5-4-to-connect-to-OnCommand-6-3/m-p/112141#M1666</guid>
      <dc:creator>BI_Engineer</dc:creator>
      <dc:date>2025-06-04T22:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error using Python NMSDK 5.4 to connect to OnCommand 6.3</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Error-using-Python-NMSDK-5-4-to-connect-to-OnCommand-6-3/m-p/113099#M1685</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I experienced the same.&lt;/P&gt;&lt;P&gt;Patch NaServer.py adding following &amp;nbsp;code at line 41&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Patch Verification Certificate Fail&lt;BR /&gt;ssl._create_default_https_context = ssl._create_unverified_context&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 09:57:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Error-using-Python-NMSDK-5-4-to-connect-to-OnCommand-6-3/m-p/113099#M1685</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2015-11-30T09:57:12Z</dc:date>
    </item>
  </channel>
</rss>

