Software Development Kit (SDK) and API Discussions

Self-signed SSL certificates in C++ netapp API

ColonelPanic
2,792 Views

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.

1 ACCEPTED SOLUTION
2 REPLIES 2

STEALTHKYLE
2,638 Views

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

ColonelPanic
2,605 Views

It is 7-mode.

Public