【发布时间】:2020-06-20 11:37:03
【问题描述】:
我正在使用 confluent kafka python 'https://github.com/confluentinc/confluent-kafka-python' 编写应用程序。 kafka 和模式注册表都是安全的并使用 https 端点。
在运行应用程序时,我收到以下错误
Result: Failure Exception: SSLError: HTTPSConnectionPool(host='hostname', port=443):
Max retries exceeded with url: //subjects/schema-value/versions (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
问题一:
For connecting to schema registry, where to specify the ceritificate value ?
问题 2:
For testing, i want to disable SSL verification in python, What is the option to do that ?
提前致谢。
【问题讨论】:
-
pip install -U pyopenssl 可以解决它
标签: python apache-kafka ssl-certificate kafka-producer-api confluent-platform