We are using many APIs, and we want to use the certification method instead of using password.
Since the password for the admin account will change regularly.
I have found this KB:
https://kb.netapp.com/on-prem/ontap/DM/REST-API/REST_API_KBs/How_to_configure_SSL_certificate-based_authentication_for_REST_API_in_ONTAP
When testing with following command:
curl -ik --cert ./mycert.crt --key mykey.key https://cluster_mgmt_ip/api/cluster?fields=version
I got the following Error:
curl: (56) OpenSSL SSL_read: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca, errno 0