When you install ontap or whatever restapi serving product there is generally a self-signed ssl sertificate that you need to accept.
With python you can use the requests module and then make all your api calls with "verify=False" and handle the warnings.
While that is a valid workaround, what are you doing so you can use "verify=True" ?