Software Development Kit (SDK) and API Discussions

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

Nick-Elliott

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

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

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public