qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5894) Python client SSL authentication passes when "ssl_skip_hostname_check" is "false" and "ssl_trustfile" is not given
Date Thu, 06 Nov 2014 15:02:34 GMT

    [ https://issues.apache.org/jira/browse/QPID-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200264#comment-14200264
] 

Justin Ross commented on QPID-5894:
-----------------------------------

This is marked fixed.  What revision and what release?

> Python client SSL authentication passes when "ssl_skip_hostname_check" is "false" and
"ssl_trustfile" is not given
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5894
>                 URL: https://issues.apache.org/jira/browse/QPID-5894
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.22
>            Reporter: Ernest Allen
>            Assignee: Ken Giusti
>            Priority: Minor
>         Attachments: bz1038586.patch
>
>
> If the flag "ssl_skip_hostname_check" is explicity set to "false", but no trustfile is
given, the python client create an insecure connection without a warning or error.
> The following command line illustrates the problem:
> spout.py  --broker <hostname>:5671 --connection-options "{  username : 'guest',
ssl_certfile : <path_to_client.pem>, protocol : 'amqp0-10', sasl_mechanisms : 'DIGEST-MD5',
ssl_skip_hostname_check : 'false', password : 'guest', transport : 'ssl' }" --count 1 --sync-mode
None "amq.topic;{}"
> No trustfile was given, but ssl_skip_hostname_check was set to false. This implies that
the user wants to check the hostname. But without a valid trustfile, that is not possible.
In this case, the connection should not silently succeed with an insecure connection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message