-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Correctly configure SSL context for AMQP
According to the Python documentation, in order to establish a client-side connection the purpose of SERVER_AUTH is appropriate. It instructs the SSL libraries to verify the authenticity of the server. As of Python 3.10 [2], the internal configuration used has been changed from the generic PROTOCOL_TLS to a specific variant for client or server. Therefore, when using Python 3.10 or higher, the incorrect configuration of ssl.Purpose results in an inability to establish a connection. [1] https://docs.python.org/3/library/ssl.html#ssl.Purpose.SERVER_AUTH [2] https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLS
- Loading branch information
1 parent
8c3c4ed
commit 29da7b2
Showing
4 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters