-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-signed SSL #126
Comments
Hey, We support it at the server object level. There is an add_http_options method call that allows you to pass arguments to requests. You can see an example of this in the sample here: https://github.com/tableau/server-client-python/blob/master/samples/set_http_options.py#L36 Line 36 is the interesting bit there. Let me know if you run into any problems with setting it. |
In addition you may get warnings, the workaround is to put this in your script: import requests
from requests import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) |
Great! Thanks for the help |
Should this issue be closed out now, given that I updated the sign-in/sign-out doc to explicitly talk about the workaround for self-signed certificates? https://github.com/tableau/server-client-python/blob/development/docs/docs/sign-in-out.md |
* Fix tableau#117 by only attempting files with the right extension inside the archive (tableau#118) * Commenting and Docstring cleanup. A few very small code cleanups (tableau#120) Add docstrings and remove clutter. I also made some very tiny tweaks to some code for clarity. * Small cleanups for various editors. Play nice with built in test-runners (tableau#121) * Add Py36, update travis to use pycodestyle (tableau#124) * Add `initial sql` and `query band` support (tableau#123) Addresses tableau#109 and tableau#110 * Prep for release of 0.6 (tableau#125) * Prep for release of 0.6 * wordsmithing the changelog
Does the current package support environments with self-signed SSL certs? I can't figure out what I need to do to pass the "verify=False" argument in requests.post()
The text was updated successfully, but these errors were encountered: