-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Using ssl.certificate.pem does not send the full ca-chain #3225
Comments
We met the same issue here. We're using the library of version 2.1.1. And our
We've tried to capture the packages sent using Wireshark. Only the first block of the client certificate was sent. The intermediate CA and root CA were not sent. Please kindly help to review the issue. |
Encounter the same issue when using |
Hiting this issue in |
Workaround around: confluentinc/librdkafka#3225 Modifies kafka options `ssl.*.pem` to `ssl.*.location`, saves the PEM keys to a file named after their SHA256 hash and the file path to this file is set as the value for this option. Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
Workaround: confluentinc/librdkafka#3225 rdkafka doesn't accept multiple certificates from `ssl.certificate.pem` but does from `ssl.certificate.location`, so we save it to a file named [SHA256-HASH]-[endpoint_name].pem in the current working directory. Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com> [docs] kafka: `ssl.*.pem` configs are replaced with `ssl.*.location` Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
Workaround: confluentinc/librdkafka#3225 rdkafka doesn't accept multiple certificates from `ssl.certificate.pem` but does from `ssl.certificate.location`, so we save it to a file named [SHA256-HASH]-[endpoint_name].pem in the current working directory. Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com> [docs] kafka: `ssl.*.pem` configs are replaced with `ssl.*.location` Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
Workaround: confluentinc/librdkafka#3225 rdkafka doesn't accept multiple certificates from `ssl.certificate.pem` but does from `ssl.certificate.location`, so we save it to a file named [SHA256-HASH]-[endpoint_name].pem in the current working directory. Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com> [docs] kafka: `ssl.*.pem` configs are replaced with `ssl.*.location` Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
This got fixed in v2.8.0 see https://github.com/confluentinc/librdkafka/releases/tag/v2.8.0 |
Yeah, it is fixed in #4894 |
Description
When using
ssl.certificate.pem
configuration the client doesn't send the full chain.Note:
ssl.certificate.location
sends the full chainHow to reproduce
Run producer/consumer where
ssl.ca.location
has only the Root CA and setssl.certificate.pem
with the full chain.Logs:
From .NET client (proxy from librdkafka)
Checklist
Please provide the following information:
2.6.0
macOS Big sur 11.1
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: