If you require connections to the Python Connector agent from an exploration tool to be made using SSL, you need to provide an SSLContext when connecting, such as in the example below:
Code Block |
---|
import mzconnector
import ssl
ctx = ssl.create_default_context(cafile=<location of CA certificate>)
ctx.load_cert_chain(certfile=<location of client certificate>, keyfile=<location of client private key>)
agent = mzconnector.connect(<host>, <port>, ctx) |
Example of connecting to the Python Connector agent from a Jupyter Notebook using SSL
Tip | ||
---|---|---|
| ||
If you use |