NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

Self-signed SSL certificates in C++ netapp API

ColonelPanic
3,943 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
3,789 Views

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

ColonelPanic
3,756 Views

It is 7-mode.

Public