Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text

Hello everyone,

I generated my Python BDK bot using the Symphony Generator (https://github.com/finos/generator-symphony).

When I tried to launch the Python BDK bot using an IDE client, like PyCharm, IntelliJ or even Visual Studio Code, I kept on recieiving an error message about the "SSL Certificate Verify Failed" in the console.

symphony.bdk.core.auth.bot_authenticator - INFO - Retrying symphony.bdk.core.auth.bot_authenticator.BotAuthenticatorRsa._authenticate_and_get_token in 2.0 seconds as it raised ClientConnectorCertificateError: Cannot connect to host develop2.symphony.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:992)')].

I have Python 3.11.x installed on my macOS laptop with the minumum version for Python BDK being Python 3.8.

Posted one year ago
Edited one year ago
Kaosar Ahmed
310 × 3 Administrator
Votes Newest


**Solution for the SSL Certificate Verify Failed on macOS **

On the macOS operating system, the Python does not use or install the trusted CA certificates by default.

Therefore, you will need to follow the commands below to correct the SSL issue.

In a nutshell: Python 3.6 onwards does not rely on macOS openSSL anymore.
It comes with its own openSSL bundled and does not have access to the macOS root certificates.

Here are the two available options:

  1. Run an install command shipped with Python 3.6 onwards
    (reference the version of Python you have installed on your machine)
cd /Applications/Python\ 3.6/
./Install\ Certificates.command


  1. Install the certifi package with

pip install certifi

Using the first option and validating the Python BDK in the IDE, the Python BDK was able to start up as expected.

Posted one year ago
Kaosar Ahmed
310 × 3 Administrator
1 Answer
one year ago
one year ago