You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the requests package reads CA_BUNDLE information from the REQUESTS_CA_BUNDLE env var and falls-back to CURL_CA_BUNDLE. If neither of these are set properly, the request will result in an SSLError.
Add support to the connect.Client to accept these properties and pass them to the requests.Session instance.
Additionally, there may be an opportunity to default the verify property to a specific location when it is known that the client is running within Connect. Further research is needed.
The text was updated successfully, but these errors were encountered:
TLS Support and Posit Connect
Usually, a Posit Connect server will be set up to be accessed in a secure manner, using the https protocol rather than simple http. If Posit Connect is set up with a self-signed certificate, you will need to include the --insecure flag on all commands. If Posit Connect is set up to require a client-side certificate chain, you will need to include the --cacert option that points to your certificate authority (CA) trusted certificates file. Both of these options can be saved along with the URL and API Key for a server.
By default, the requests package reads CA_BUNDLE information from the
REQUESTS_CA_BUNDLE
env var and falls-back toCURL_CA_BUNDLE
. If neither of these are set properly, the request will result in anSSLError
.The requests package provides support for configuring server-side and client-side certificate locations. See https://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
Add support to the
connect.Client
to accept these properties and pass them to therequests.Session
instance.Additionally, there may be an opportunity to default the verify property to a specific location when it is known that the client is running within Connect. Further research is needed.
The text was updated successfully, but these errors were encountered: