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

Resolve OpenSSL configuration issues #15

Merged
merged 3 commits into from
Jun 2, 2022

Conversation

jon-signal
Copy link

The main goal here is to resolve a mysterious error some users would see when attempting to use embedded-redis that looks something like this:

Auto configuration failed
139667593160216:error:25FFF06C:DSO support routines:CRYPTO_internal:functionality not supported:dso/dso_lib.c:226:
139667593160216:error:0EFFF06E:configuration file routines:CRYPTO_internal:error loading dso:conf/conf_mod.c:273:module=providers, path=providers
139667593160216:error:0EFFF071:configuration file routines:CRYPTO_internal:unknown module name:conf/conf_mod.c:214:module=providers

The problem is that we were statically linking against libressl, which evidently struggles to parse certain stanzas in some OpenSSL configuration files. There's no mechanism to override the configuration file in play, and so users are stuck trying to comment out the parts of /etc/ssl/openssl.cnf that libressl finds offensive. It's a pretty gnarly situation.

Our solution here is just to link directly against OpenSSL. It's possible that this is just trading one set of problems for another, but it certainly seems to resolve the most common known issue at the moment.

Since we need to generate new binaries anyhow, I took the opportunity to bump us up to Redis 6.2.7 while I was at it.

@jon-signal jon-signal force-pushed the jon/update_homebrew_build branch from 092aa6e to bc3926e Compare June 2, 2022 19:28
Base automatically changed from jon/update_homebrew_build to master June 2, 2022 19:39
@jon-signal jon-signal force-pushed the jon/resolve_openssl_shenanigans branch from ef28fe0 to 0ae2b84 Compare June 2, 2022 19:39
@jon-signal jon-signal merged commit 2aee243 into master Jun 2, 2022
@jon-signal jon-signal deleted the jon/resolve_openssl_shenanigans branch June 2, 2022 19:47
@jon-signal jon-signal mentioned this pull request Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants