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,053 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,017 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,018 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