Closed Gkrumbach07 closed 3 years ago
cc @KPostOffice
I've sent the ca.key
file required -- let us know if it works!
@Gkrumbach07 -- has this been resolved?
@HumairAK I cant seem to get ssl certs setup on my Kafka client. Any suggestions?
I believe @harshad16 has done this already, maybe he can chime in with the steps he took.
i assume you are using kafka-python.https://kafka-python.readthedocs.io/en/master/apidoc/KafkaProducer.html it has arguments for passing the values. try setting this in your kafkaproducer:
security_protocol=SSL
ssl_cafile="../ca.cert
ca.crt
file that needs to be imported into OpenShift.ca.crt
.
producer = kafka.KafkaProducer(bootstrap_servers="odh-message-bus-kafka-bootstrap-opf-kafka.apps.zero.massopen.cloud:443", security_protocol="SSL", ssl_cafile="/etc/ca-cert/ca-cert")
If you were successful, then there should be no errors. Possible errors might be:
ca.crt
into OpenShift. If the imported text does not start with -----BEGIN CERTIFICATE-----
, then it probably is still encrypted.
Description I am working to port my demo onto MOC (more details https://github.com/operate-first/support/issues/126). I need access Kafka which is located on the namespace
opf-kafka
. I run into the following error which I try to get the broker https://odh-message-bus-kafka-bootstrap-opf-kafka.apps.zero.massopen.cloud. I assume it is because I do not have the SSL certs that are defined in the docs https://www.operate-first.cloud/users/apps/docs/odh/kafka/README.md. So my question is, what do I need to do to get these certs and integrate them into my namespace?Additional context https://chat.google.com/room/AAAAAYpDdc8/vaLARlbLzKU gage_krumbach_pubkey.txt