Skip to main content

Configure OAuth 2.0 on the ONTAP

Netwrix Auditor requires OAuth 2.0 to be enabled and configured on the ONTAP cluster before you configure the authentication provider (AD FS, Okta, or Microsoft Entra ID).

Step 1 – Enable OAuth 2.0 globally on the cluster:

security oauth2 modify -enabled true

Step 2 – Determine the Management SVM name

vserver show -type admin

Step 3 – Install the IdP root CA certificate or self-signed certificate

NOTE: This step is requered only for on-premise auth providers, like AD FS.

security certificate install -type server-ca -vserver <admin-svm>

where <admin-svm> is vserver name obtained on 'Step 2'

Paste the PEM block (-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----) when prompted and press 'Enter'

NOTE: If your CA uses a two-tier hierarchy (offline root + issuing CA), install both certificates, starting with the root.

Step 4 – Disable client certificate authentification

security ssl modify -client-enabled false -vserver <admin-svm>

where <admin-svm> is vserver name obtained on 'Step 2'

Step 5 – Create the ONTAP Rest API role using vserver name obtained on 'Step 2' To create a role, refer to Configure Role.

Step 6 – Verify the configuration:

security oauth2 show
security oauth2 client show
security ssl show -fields vserver,server-enabled ,client-enabled
security certificate show -type server-ca -vserver <admin-svm>