Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Messenger] Remove TLS related options when not using TLS#41616
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Messenger] Remove TLS related options when not using TLS#41616
Uh oh!
There was an error while loading.Please reload this page.
Conversation
YaFou commentedJun 9, 2021
Can you implement a test, please? |
89e2d1d to37e602dCompare
chalasr left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍 as a bugfix for 5.2
javiereguiluz commentedJun 10, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I don't know if my question makes sense ... but I'll ask it: if we silently drop the TLS config when using Before, this typo would have been caught by the exception ... but now that typo could become a potential security issue? |
odolbeau commentedJun 10, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@javiereguiluz if your broker is configured to accept both TLS & non-TLS connections, you are right, the non-TLS connection will be used even if it's not what you were looking for. |
nicolas-grekas commentedJun 17, 2021
Thank you@odolbeau. |
Uh oh!
There was an error while loading.Please reload this page.
Remove TLS related options when not using TLS to connect to a broker.
The goal is to be able to use the same configuration for both
amqp://&amqps://DSN.Currently, when using a configuration containing a
cacertkey with a non-TLS DSN will throw aAMQPConnectionException(Socket error: could not connect to host.)Configuration example: