Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
dieden9
Contributor
Contributor

Failed to create Kafka handle: ssl.ca.location failed

Hi,

We have set up Qlik Replicate and want to use Kafka as a target.
We have a secured Kafka cluster wither kerberos authentication. We have extracted certificates and placed them within the Qlik replicate installation directory. However, we are unable to connect to Kafka and getting the following error message:

 

SYS-E-HTTPFAIL, SYS-E-HTTPFAIL, Failed to create Kafka handle: ssl.ca.location failed: crypto\x509\by_file.c:199: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib...

SYS,GENERAL_EXCEPTION,SYS-E-HTTPFAIL, Failed to create Kafka handle: ssl.ca.location failed: crypto\x509\by_file.c:199: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib..,SYS,GENERAL_EXCEPTION,Failed to create Kafka handle: ssl.ca.location failed: crypto\x509\by_file.c:199: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib.

 
2 Replies
SwathiPulagam
Support
Support

Hi,

 

Please run the below tool from the replicate server and make sure everything works fine.

 

rdkafka_example.exe -P -t <topic> -b <brokerserver>:9092 -X security.protocol=SSL -X ssl.certificate.location=<.\...pem> -X ssl.key.location=<.\....key> -X ssl.key.password=<pwd> -X ssl.ca.location=<..\...cer>

 

The certificate must be a Dual Authentication for Kafka as like below. you can verify that using keytool command.

 

ExtendedKeyUsages [
serverAuth
clientAuth
]

 

Please refer to the attachment.

 

Thanks,

Swathi

SwathiPulagam
Support
Support

Hi,

Make sure your certificate is in X.509 format.

FYI: https://github.com/edenhill/librdkafka/issues/2606

 

Thanks,

Swathi