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

Error creating new SSL socket #523

Closed
david-mohr opened this issue Sep 6, 2018 · 0 comments
Closed

Error creating new SSL socket #523

david-mohr opened this issue Sep 6, 2018 · 0 comments

Comments

@david-mohr
Copy link

While migrating to v0.9.0 and OpenSSL v1.1.0 I came across an error when trying to create a new SSL socket with amqp_ssl_socket_new.

I've tracked down the error to the function setup_openssl, in particular: https://github.com/alanxz/rabbitmq-c/blob/v0.9.0/librabbitmq/amqp_openssl.c#L587 which was failing due to a missing openssl.cnf file (ERR_print_errors_fp(stderr)).

I added an additional flag CONF_MFLAGS_IGNORE_MISSING_FILE to ignore these specific errors and now we can create ssl sockets once more

alanxz added a commit that referenced this issue Sep 8, 2018
When initializing OpenSSL in v1.1.0 or later, tell OpenSSL to ignore
missing openssl.cnf.

Fixes #523
alanxz added a commit that referenced this issue Sep 8, 2018
When initializing OpenSSL in v1.1.0 or later, tell OpenSSL to ignore
missing openssl.cnf.

Fixes #523
alanxz added a commit that referenced this issue Sep 8, 2018
When initializing OpenSSL in v1.1.0 or later, tell OpenSSL to ignore
missing openssl.cnf.

Fixes #523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant