简体   繁体   中英

KAFKA Python SSL Certificate

I am working on Python script on Windows 10 to connect to consume KAFKA topic. The SSL certificate is installed on Windows server in.jks format. The SSL connection to KAFKA is possible only with his certificate.

I wanted to know if there is a way I can tell Python to get the default certificate from the specific location? Will Python accept.jks format certificate? If not then what options I have.

Python isn't Java. JKS files really only work within the context of a JVM

You can use keytool commands to export a PEM certificate from a JKS file to be used for non Java purposes

How to convert trust certificate from.jks to.pem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM