Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

How to connect to HTTPS DSS

Solved!
tomas
Neuron
Neuron
How to connect to HTTPS DSS

Using self signed certificate returns:
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

How to set auto-trust during the connection?
Thanks

import dataikuapi

host = "https://localhost:11200"
apiKey = "some_key"
client = dataikuapi.DSSClient(host, apiKey)


 

0 Kudos
1 Solution
AdrienL
Dataiker
Dataiker
On a DSSClient instance, you can disable SSL certificate verification (not recommended) like this:

client._session.verify = False

View solution in original post

0 Kudos
2 Replies
AdrienL
Dataiker
Dataiker
On a DSSClient instance, you can disable SSL certificate verification (not recommended) like this:

client._session.verify = False
0 Kudos
jereze
Dataiker Alumni
On localhost, it should be safe to use http and not https.
Jeremy, Product Manager at Dataiku
0 Kudos

Labels

?
Labels (2)
A banner prompting to get Dataiku