NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Re: Using 5.1 NM SDK with Certificate based authentication against cluster mode 8.2

Nick-Elliott
2,570 Views

I'm stuck with an auth failure on simulator 9.3 when attempting to do cert based authentication using the SDK.

 

I used https://netapp.io/2016/11/08/certificate-based-authentication-netapp-manageability-sdk-ontap/ as a guide.

 

LAB93::> security login show -user-or-group-name cert_user

Vserver: LAB93
                                                                 Second
User/Group                 Authentication                 Acct   Authentication
Name           Application Method        Role Name        Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
cert_user      ontapi      cert          admin            -      none

LAB93::> security certificate show -vserver LAB93 -type client-ca               Vserver    Serial Number   Common Name                            Type
---------- --------------- -------------------------------------- ------------
LAB93      D47D7F0D6DDF7F10
                           cert_user                              client-ca
    Certificate Authority: cert_user
          Expiration Date: Tue Apr 20 18:39:15 2021
python apitest.py -C test.pem -K test.key 10.10.1.100 system-get-version

OUTPUT:
<results status="failed" reason="Authorization failed" errno="13002"></results>

 

1 ACCEPTED SOLUTION

Nick-Elliott
2,534 Views

SSL Client Auth enabled got flipped back to false on me.  Flipped back to true and all is right with the world again.

View solution in original post

1 REPLY 1

Nick-Elliott
2,535 Views

SSL Client Auth enabled got flipped back to false on me.  Flipped back to true and all is right with the world again.

Public