2015-08-27 02:24 PM
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.
# 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?
2018-04-21 11:51 AM
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