-
Notifications
You must be signed in to change notification settings - Fork 27
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
OpenSSL 3.2.0 update breaks connections to Aurora Postgres #144
Comments
What version of postgres? Is this postgres aurora? Are you explicitly providing a CA (I know the error indicates that this has nothing to do with this... but I've seen error messages be super misleading with SSL)? |
Are you using week keys? The default security level has changed in openssl 3.2 from 1 to 1: https://www.openssl.org/docs/man3.2/man3/SSL_CTX_set_security_level.html. |
Are you able to re-build our image with |
I guess I should also ask - how sure are you at that SSL is actually working before and that the client is not silently falling back to plain text? What happens if you set |
Aurora Postgres 14.6 is the version we are using, we did not provide a CA, using the provided CA from RDS
Completely agree.
We are not using TLS to connect to the RDS database, I suspect that change in OpenSSL to be to root of the cause as we were connected before the update - unable to connect after.
I can certainly try to build the image, that would ultimately verify the issue - I'll try to look into that this week - but no promises :)
Our connection string has not changed, only the Bref image. I can look at the param groups in the morning, but nothing changed there either. |
And you're sure #138 was not the cause? |
@jasonmccallister is the latest version of the layers working fine now? (if it is, that would pinpoint the problem to the OpenSSL upgrade, if not that might be something else) |
@mnapoli we set the deployments to the tagged version 2.2.10 and it has been resolved.
@GrahamCampbell not 100 percent certain, but we did have deployments between those releases without any connectivity issues to RDS. |
This seems to be an issue that has been fixed but not yet released (and won't be released until February 2024): postgres/postgres@5dd30bb. We could apply the patch in bref when we compile libpq, allowing us to upgrade to OpenSSL 3.2, or alternatively, we'd have to wait until postgres 15.6 is released in February. |
Awesome, thanks for investigating! Let's wait until the patch is released, unless we are missing something big that requires to patch ourselves. |
Description:
When the container images were updated to include OpenSSL 3.2.0 in #143, subsequent deployments broke Aurora RDS connections to Postgres with the following error:
How to reproduce:
The text was updated successfully, but these errors were encountered: