<?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: Connection Failure for NETAPP 7-mode filers while using HTTPS  Connection in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/129308#M2316</link>
    <description>&lt;P&gt;&amp;nbsp;The next thing to check is the key length. &amp;nbsp;By default its only 512 bits. &amp;nbsp;You may need to re-run secureadmin setup and generate a new certificate:&lt;/P&gt;&lt;PRE&gt;secureadmin disable ssl
secureadmin setup -f ssl&lt;/PRE&gt;&lt;P&gt;Try it with a key length of at least 1024.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 17:17:11 GMT</pubDate>
    <dc:creator>SeanHatfield</dc:creator>
    <dc:date>2017-03-22T17:17:11Z</dc:date>
    <item>
      <title>Connection Failure for NETAPP 7-mode filers while using HTTPS  Connection</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/129232#M2312</link>
      <description>&lt;P&gt;I am trying to connect with Netapp 7-mode filer(ONTAP server) from my machine(Client) on https protocol and port 443 using HTTPSConnection module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The client machine is using following packages for connection:&lt;/P&gt;&lt;P&gt;Python 2.7.13&lt;/P&gt;&lt;P&gt;OpenSSL 1.0.2k-fips &amp;nbsp;26 Jan 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error while connection:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;(&amp;lt;class 'ssl.SSLError'&amp;gt;, SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:676)'), &amp;lt;traceback object at 0x7f29095a29e0&amp;gt;)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can connect with &lt;STRONG&gt;Cluster-mode&lt;/STRONG&gt; filers successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here content is "&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'&amp;gt;&amp;lt;netapp version="1.13" xmlns="&lt;A href="https://community.netapp.com/" target="_blank"&gt;http://www.netapp.com/filer/admin"&amp;gt;&amp;lt;system-get-ontapi-version&amp;gt;&amp;lt;/system-get-ontapi-version&amp;gt;&amp;lt;/netapp&lt;/A&gt;&amp;gt;" : API call for getting &lt;STRONG&gt;ontapi&amp;nbsp;&lt;/STRONG&gt;version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;try:
    connection = httplib.HTTPSConnection(server, port=443, timeout=300)
    connection.putrequest("POST", FILER_URL)
    connection.putheader("Content-type", "text/xml; charset=\"UTF-8\"")
    connection.putheader("Content-length", str(len(content)))
    base64string = base64.encodestring("%s:%s" %(user,password))[:-1]
    authheader = "Basic %s" %base64string
    connection.putheader("Authorization", authheader)
    connection.endheaders()
    connection.send(content)
except socket.error :
    message = sys.exc_info()
    print message
    exit(0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already enabled tls&amp;nbsp;on Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;myfiler&amp;gt; options ssl
ssl.enable                 on        
ssl.v2.enable              off       
ssl.v3.enable              on        
myfiler&amp;gt; options tls
tls.enable                 on  &lt;/PRE&gt;&lt;P&gt;Can anyone help us to figure out the solution?&lt;/P&gt;&lt;P&gt;Does 7-mode Filer support to tls1.2? If not then how to make a connection using python 2.7.13 packages?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:18:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/129232#M2312</guid>
      <dc:creator>Shivang</dc:creator>
      <dc:date>2025-06-04T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Failure for NETAPP 7-mode filers while using HTTPS  Connection</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/129308#M2316</link>
      <description>&lt;P&gt;&amp;nbsp;The next thing to check is the key length. &amp;nbsp;By default its only 512 bits. &amp;nbsp;You may need to re-run secureadmin setup and generate a new certificate:&lt;/P&gt;&lt;PRE&gt;secureadmin disable ssl
secureadmin setup -f ssl&lt;/PRE&gt;&lt;P&gt;Try it with a key length of at least 1024.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:17:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/129308#M2316</guid>
      <dc:creator>SeanHatfield</dc:creator>
      <dc:date>2017-03-22T17:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Failure for NETAPP 7-mode filers while using HTTPS  Connection</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/130457#M2337</link>
      <description>&lt;P&gt;Nice, that worked for me&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:46:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Connection-Failure-for-NETAPP-7-mode-filers-while-using-HTTPS-Connection/m-p/130457#M2337</guid>
      <dc:creator>Niclas</dc:creator>
      <dc:date>2017-04-25T12:46:38Z</dc:date>
    </item>
  </channel>
</rss>

