Subscribe
Accepted Solution

Self-signed SSL certificates in C++ netapp API

Howdy all,

 

I am trying to connect to a netapp device via HTTPS in C++. I found the certificate file in etc/keymgr/cert and copied it to my application's folder. I then pointed the application at that cert using na_server_set_ca_certs. It appears to load successfully, however when I call na_server_invoke of "system-api-list" I get a "Failed to load trusted CA certificates: No such process".

What am I doing wrong here?

Thanks in advance.

Re: Self-signed SSL certificates in C++ netapp API

Can you share what version of ONTAP you're targeting? Is it c-mode?

Re: Self-signed SSL certificates in C++ netapp API

It is 7-mode.