forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use certifi cert collection for TLS in python client (apache#4216)
The python library is built using a statically linked pulsar library. Since it is statically linked, the paths for the default certificates are hard coded and likely wrong on most platforms the python client runs on. This patch changes the python library to pull a set of certs from certifi, which is then uses as the trust store if the no trust cert is specified. For C++, if the trust cert is unspecified, SSL defaults are used. This should work fine for C++ if a shared library is being used.
- Loading branch information
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters