robertmrk / aiosfstream

Salesforce Streaming API client for asyncio
MIT License
47 stars 30 forks source link

SSL certificate #7

Open arefin70 opened 5 years ago

arefin70 commented 5 years ago

We need to be able to provide "verify=False" to ignore SSL certificate and "cert= path_to_cert_bundle" to provide a custom certificate authority bundle while creating the connection with SalesforceStreamingClient.

By default it has Verify= True and Cert = None and its reading the cert from REQUESTS_CA_BUNDLE environment variable location and fails if there is no cert there. SalesforceStreamingClient does not take any parameter to override verify and cert values. Thanks for your help.

robertmrk commented 5 years ago

Hi @arefin70

At the moment there is no way to configure TLS/SSL options for the library. However this issue can be fixed relatively easily. I just need to know which Salesforce feature requires this, so I can use it for testing. Are you trying to use mutual authentication or maybe some different feature I'm not familiar with?