Software Development Kit (SDK) and API Discussions

Certificate Based Authentication using NetApp SDK Python

NETAPP_USER_NAME

Getting the following error messages when attempting CBA to ONTAP 8.3.1 using Python SDK 5.2.2  (realize this is down level).  We have a signed CA cert and trust chain installed on the NetApp but it appears to be flagging it as a self-signed cert.

 

From host:

# python  apitest.py -C CERTFILE.pem <HOSTNAME> "system-node-get"

 

OUTPUT:  <results status="failed" reason="[Errno 1]] _ssl.c:### error: ########:SSL routines: SSL3_READ_BYTES:tlsv1 alert unknown ca" errno="13001"></results>

 

From NetApp apache_error.log:

[ssl:error] Certificate Verification: Error (19): self signed certificate in certificate chain [INFO FOR ROOT CA]

 

Any ideas why this is treating my CA issued cert as self signed?

 

Thanks,

Bill

1 REPLY 1

Nick-Elliott

are you including the ca certs?

 

    def set_ca_certs(self, ca_file):
        """ Specifies the certificates of the Certificate Authorities (CAs) that are 
        trusted by this application and that will be used to verify the server certificate.
        """

        self.ca_file = ca_file
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public