Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling ssl providers on language bindings #4392

Closed
csolamx opened this issue Aug 11, 2023 Discussed in #4387 · 2 comments
Closed

Enabling ssl providers on language bindings #4392

csolamx opened this issue Aug 11, 2023 Discussed in #4387 · 2 comments

Comments

@csolamx
Copy link

csolamx commented Aug 11, 2023

Discussed in #4387

Originally posted by csolamx August 7, 2023
Hello,

I am using librdkafka through confluent-kafka-dotnet. I need to implement a legacy ssl provider, so I am using

"SslProviders": "default,legacy"

However, I get the following exception:

rdkafka#consumer-18| [thrd:app]: error:12800067:DSO support routines::could not load the shared library: filename(C:\semaphore-agent\vcpkg\packages\openssl_x64-windows\bin\legacy.dll)

Failed to load OpenSSL provider "legacy": error:07880025:common libcrypto routines::reason(524325): name=legacy

I found a workaround here. I can't use it because I have no control on what can be installed on my dev environment or the servers. Is there some other way to enable legacy ssl providers on confluent-kafka-dotnet?

Regards

@emasab
Copy link
Contributor

emasab commented Aug 14, 2023

Hello the instructions are the same as for the FIPS provider. Documentation here. You need to set the OPENSSL_MODULES env variable to the folder that contains the legacy provider and optionally OPENSSL_CONF with openssl.cnf file location.

We need to add librdkafka specific documentation too.

@csolamx
Copy link
Author

csolamx commented Sep 1, 2023

Thank you @emasab, I hadn't had the chance to test it but it worked as a charm.

@csolamx csolamx closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants