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>