import pika
import ssl
credentials = pika.PlainCredentials('admin', 'vmware')
context = ssl.create_default_context(cafile="./private/testca/cacert.pem")
context.load_cert_chain("./private/client/cert.pem",
"./private/client/key.pem")
ssl_options = pika.SSLOptions(context, '127.0.0.1')
params = pika.ConnectionParameters(host="localhost", port=5671, ssl_options=ssl_options, credentials=credentials)
connection = pika.BlockingConnection(params)
channel = connection.channel()
1. where should the certifictes be
2. what should be the configuration file be like to connect to python and
3. can some one share me a working file or code which connects to a rabbit mq using tls