You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For pyamqp transport, if connection url contains the string amqps(notice the s), then the server certificates are never validated against the ca certs, even if they are provided.
Inside pyamqp.py. file line 182
For pyamqp transport, if connection url contains the string amqps(notice the s), then the server certificates are never validated against the ca certs, even if they are provided.
Inside pyamqp.py. file line 182
`class SSLTransport(Transport):
"""AMQP SSL Transport."""
The above code demonstrates the part where they are overwritten.
Creating the custom connection object
connection = kombu.Connection(
"amqps://guest:guest@localhost:5671",
login_method="PLAIN",
ssl={
'ca_certs': '"ca_cert_path",
'cert_reqs': ssl.CERT_REQUIRED
}
)
But if the url contains the string amqp(without s), then the server certificates are validated.
The text was updated successfully, but these errors were encountered: