<?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: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7737#M80</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Anytime. Thanks for your response, it will help me document CBA usage better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 10:00:31 GMT</pubDate>
    <dc:creator>aashray</dc:creator>
    <dc:date>2014-02-19T10:00:31Z</dc:date>
    <item>
      <title>Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7714#M76</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, I am attempting to use the 5.1 NM SDK via Perl to automate some processes against a cluster mode 8.2 vServer. Based on the SDK documentation for the "NaServer::set_style" method my options for authentication against the filer are LOGIN, HOSTS, or CERTIFICATE. Since this is cluster mode and there is no longer a /etc/hosts.equiv file that means all I can use are LOGIN and CERTIFICATE. If I choose LOGIN I can access all of the functions of the API and everything works perfectly, however I don't really want to have to embed a username and password inside of a script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the article below to get CERTIFICATE authentication setup. I can tell that the CERTIFICATE authentication is working because I can use the API 'system-get-version' object to retrieve the version and other attributes from the vServer. However if I attempt to use any of the volume related APIs such as 'volume-get-iter' or 'volume-clone-get' I receive a failed results status from the NaServer::invoke_elem method with a reason of 'not authorized for that command'. It appears that there may only be a limited set of API functionality when using CERTIFICATE authentication over LOGIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had success using CERTIFICATE authetication against an 8.2 cluster mode vServer? any insight would be appreciated! thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/developer/blog/2013/07/30/using-sdk-with-certificate-based-authentication-cba" target="_blank"&gt;https://communities.netapp.com/community/interfaces_and_tools/developer/blog/2013/07/30/using-sdk-with-certificate-based-authentication-cba&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 20:37:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7714#M76</guid>
      <dc:creator>amarumoto</dc:creator>
      <dc:date>2014-01-16T20:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7718#M77</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can access all APIs and have no limit on access if you use CBA as the "admin" user.&lt;/P&gt;&lt;P&gt;Basically while creating the certificate give the common-name as : admin&lt;/P&gt;&lt;P&gt;Then using "security login create" command create a user with username "admin" , application as "ontapi" and authmethod as "cert".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should make it work.&lt;/P&gt;&lt;P&gt;I have also updated the article at : &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/developer/blog/2013/07/30/using-sdk-with-certificate-based-authentication-cba" title="https://communities.netapp.com/community/interfaces_and_tools/developer/blog/2013/07/30/using-sdk-with-certificate-based-authentication-cba" target="_blank"&gt;https://communities.netapp.com/community/interfaces_and_tools/developer/blog/2013/07/30/using-sdk-with-certificate-based-authentication-cba&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing this out.&lt;/P&gt;&lt;P&gt;Hope I helped.&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Aashray Arora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 10:11:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7718#M77</guid>
      <dc:creator>aashray</dc:creator>
      <dc:date>2014-02-18T10:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7727#M78</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reply, this pointed me in the right direction.......I had originally created my certificate/vServer login with a common name unique to our environment. Then I recreated the certificate/vServer login with a common name of 'admin' but I still had the same error message as before. So I recreated the certificate/vServer login again with a common name of 'vsadmin' an then everything was working correctly, I had full API functionality,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 22:53:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7727#M78</guid>
      <dc:creator>amarumoto</dc:creator>
      <dc:date>2014-02-18T22:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7732#M79</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I create a new user ("limteduser") with specific RBAC access, e.g. snap list but not delete, can I generate a self-signed certificate with the common name as "limiteduser"?&lt;/P&gt;&lt;P&gt;Granting cluster-wide roles is not popular with customers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 01:52:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7732#M79</guid>
      <dc:creator>richard5</dc:creator>
      <dc:date>2014-02-19T01:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7737#M80</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Anytime. Thanks for your response, it will help me document CBA usage better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:00:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7737#M80</guid>
      <dc:creator>aashray</dc:creator>
      <dc:date>2014-02-19T10:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7742#M81</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should be able to use a custom role that contains whatever access you like but in my experience it is the name of the user and the common name in the certificate (both should be the same) that were critical. Like you I initially created a user account name that made sense to me, like 'automation' and then created a certificate with common name of 'automation'. The CBA seemed work but with very limited functionality. It wasn't until I used the username of 'vsadmin' that I had complete success. My 'vsadmin' user is assigned the 'vsadmin' role, but I just tested changing the role the 'vsadmin-readonly' and the CBA still works but obviously with read only permissions. So I would try using either 'admin' or 'vsdamin' as your username and certificate common name and assign the user your custom role and I think you should be good.......good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:45:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/7742#M81</guid>
      <dc:creator>amarumoto</dc:creator>
      <dc:date>2014-02-19T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/95845#M1254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link above is not working. Can you please provide a fresh link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 11:06:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/95845#M1254</guid>
      <dc:creator>SMRUTIMANDAL</dc:creator>
      <dc:date>2014-11-04T11:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/96827#M1277</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pasting the contents from the link here....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There have been a lot of questions on how Certificate Based Authentication (CBA) can be used with NMSDK to connect to the filer. CBA for NMSDK is supported if you are on Clustered Data ONTAP 8.2. This means your scripts need not have the username/password to call the APIs on the filer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I will show you how you can use a self signed client certificate to login to your&amp;nbsp;filer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a self-signed certificate using openssl commands.&amp;nbsp;&lt;STRONG&gt;When asked for common name, please use "admin"&lt;/STRONG&gt;. Else you may not get access to many APIs.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;openssl&amp;nbsp;req&amp;nbsp;-x509&amp;nbsp;-nodes&amp;nbsp;-days&amp;nbsp;365&amp;nbsp;-newkey&amp;nbsp;rsa:1024&amp;nbsp;-keyout&amp;nbsp;yourKeyFileName.key&amp;nbsp;-out&amp;nbsp;yourCertName.pem&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It will look something like this : (&lt;EM&gt;&amp;nbsp;cat&amp;nbsp;yourCertName.pem&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-----BEGIN CERTIFICATE-----&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MIICwjCCAiugAwIBAgIJAJpgINzlWl06MA0GCSqGSIb3DQEBBQUAMHoxCzAJBgNV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;aWRnaXRzIFB0eSBMdGQxEDAOBgNVBAMMB2Fhc2hyYXkxITAfBgkqhkiG9w0BCQEW&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EmFhc2hyYXlAbmV0YXBwLmNvbTAeFw0xMzA3MzAxNjQ2NDRaFw0xNDA3MzAxNjQ2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NDRaMHoxCzAJBgNVBAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQK&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEDAOBgNVBAMMB2Fhc2hyYXkxITAf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BgkqhkiG9w0BCQEWEmFhc2hyYXlAbmV0YXBwLmNvbTCBnzANBgkqhkiG9w0BAQEF&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AAOBjQAwgYkCgYEAv8jid3ADQH/HQ05iZ6Tk0NF2cY9iiEna71PVKjM1L8GGkyWJ&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kGioW2j1qoHO4kJEXUOMoX7YREOKLYbBQW5nx6rrg8Z3iFvP09YJnByonUIuN9QZ&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;96OHQ+ws9u6wNgM2LTJbcbOUUdJuOQNgaQ4XhzLDa6g0jEzyDBHbC05m2XUCAwEA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AaNQME4wHQYDVR0OBBYEFDdavnhJnCUHDJXgZEAovxcoYAsxMB8GA1UdIwQYMBaA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FDdavnhJnCUHDJXgZEAovxcoYAsxMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BQADgYEAdnD5BzSlV2SiZJbOjzmhkYraNwG3WauDYlnzo8K0v6BFhxKEC/abjUaa&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ic/mBXEE8JqnLN7uqQf1wZtqIU60eNexMMdg+tstYe5O0Fnu27ss9HsmDD51A9LZ&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kT5+XIfG21EYJMnFa1LwWTtmkla66GNhVEzzJKUtOXD23H6SyNc=&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-----END CERTIFICATE-----&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Install the certificate in your filer (running Clustered Data ONTAP 8.2 )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;command&amp;nbsp;:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;security&amp;nbsp;certificate&amp;nbsp;install&amp;nbsp;-type&amp;nbsp;client-ca&amp;nbsp;-vserver&amp;nbsp;yourAdminVserver&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will get a prompt saying : Please enter Certificate: Press &amp;lt;Enter&amp;gt; when done&lt;/P&gt;&lt;P&gt;Paste the certificate created in the above step (including the Begin and End lines) and press enter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Two important things :&lt;UL&gt;&lt;LI&gt;Check if client authentication is enabled&amp;nbsp;inthe cluster.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;gt;&amp;nbsp;security&amp;nbsp;ssl&amp;nbsp;show -vserver&amp;nbsp;yourAdminVserver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vserver:&amp;nbsp;&lt;EM&gt;yourAdminVserver&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Server Certificate Issuing CA:&amp;nbsp;&lt;EM&gt;yourAdminVserver&lt;/EM&gt;.cert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Server Certificate Serial Number: 50C8AB18&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Server Certificate Common Name:&amp;nbsp;&lt;EM&gt;yourAdminVserver&lt;/EM&gt;.cert&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SSL Server Authentication Enabled: true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SSL Client Authentication Enabled: true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;If it is disabled then enable using this option :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;security&amp;nbsp;ssl&amp;nbsp;modify –vserver&amp;nbsp;&lt;EM&gt;yourAdminVserver&lt;/EM&gt;&amp;nbsp;-client-enabled true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You should create a&amp;nbsp;securitylogin with the client name that you have mentioned in the certificate.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;security&amp;nbsp;login&amp;nbsp;create&amp;nbsp;-username&amp;nbsp;admin&amp;nbsp;-application&amp;nbsp;ontapi&amp;nbsp;-authmethod&amp;nbsp;cert&amp;nbsp;-role&amp;nbsp;admin&amp;nbsp;-vserver&amp;nbsp;yourAdminVserver&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Now you are ready to call APIs by providing the certificate and key file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1 : Run the python&amp;nbsp;apitest&amp;nbsp;using CBA - this file can be found in your NMSDK5.1 bundle in the folder :&amp;nbsp;&amp;nbsp;&lt;EM&gt;netapp-manageability-sdk-5.2/src/sample/Data_ONTAP/Python&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;python&amp;nbsp;apitest.py&amp;nbsp;-C&amp;nbsp;~/yourCertName.pem&amp;nbsp;-K&amp;nbsp;~/yourKeyFileName.key&amp;nbsp;&amp;lt;IP.XXX.XXX.XXX&amp;gt;&amp;nbsp;system-get-version&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example 2 : Run the apitest.exe found in netapp-manageability-sdk-5.2\bin\nt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;exe&amp;nbsp;-C&amp;nbsp;cert.pem&amp;nbsp;-K&amp;nbsp;keyFile.key&amp;nbsp;&amp;lt;IP.XXX.XXX.XXX&amp;gt;&amp;nbsp;volume-get-iterHope&amp;nbsp;it&amp;nbsp;worked&amp;nbsp;well.&amp;nbsp;Feel&amp;nbsp;free&amp;nbsp;to&amp;nbsp;ask&amp;nbsp;me&amp;nbsp;any&amp;nbsp;questions&amp;nbsp;you&amp;nbsp;might&amp;nbsp;have.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it worked well.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2014 08:37:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/96827#M1277</guid>
      <dc:creator>pmbidara</dc:creator>
      <dc:date>2014-11-14T08:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/97749#M1289</link>
      <description>&lt;P&gt;Thanks. The issue is resolved.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 17:30:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/97749#M1289</guid>
      <dc:creator>SMRUTIMANDAL</dc:creator>
      <dc:date>2014-11-27T17:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119448#M1940</link>
      <description>&lt;P&gt;It seems like if I try to use a different user, it doesn't work. I get a "Not authorized for that command (13003)" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if I assign a password to that user, it works, even if I keep authenticating with a certificate, without putting that password anywhere in my script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that expecetd?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 17:35:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119448#M1940</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2016-05-19T17:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119450#M1941</link>
      <description>&lt;P&gt;By the way, this is working find with 8.3.2&lt;/P&gt;&lt;P&gt;The problems show with 8.2.1&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 17:43:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119450#M1941</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2016-05-19T17:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119451#M1942</link>
      <description>&lt;P&gt;See BUG 801316 (Fixed in 8.2.2)&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 18:02:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/119451#M1942</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2016-05-19T18:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/137205#M2536</link>
      <description>&lt;P&gt;Thanks, this helped me very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still I had to dig out the parameters I needed in my own script out of the apitest.pl and got it working like this with my simulator:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my $Cluster = new NaServer('192.168.0.22',1,7);&lt;BR /&gt;$Cluster-&amp;gt;set_transport_type('HTTPS');&lt;BR /&gt;$Cluster-&amp;gt;set_style('CERTIFICATE');&lt;BR /&gt;$Cluster-&amp;gt;set_client_cert_and_key('/cf.d/yourCertName.pem','/cf.d/yourKeyFileName.key');&lt;BR /&gt;$Cluster-&amp;gt;set_server_cert_verification(0);&lt;BR /&gt;$Cluster-&amp;gt;set_server_type('FILER');&lt;BR /&gt;$Cluster-&amp;gt;set_port(443);&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 08:41:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Using-5-1-NM-SDK-with-Certificate-based-authentication-against-cluster-mode-8-2/m-p/137205#M2536</guid>
      <dc:creator>arminwiesel_fts</dc:creator>
      <dc:date>2018-01-10T08:41:44Z</dc:date>
    </item>
  </channel>
</rss>

