Description of problem: For secure connections from Python clients over ssl to the broker, we need the ability to do server certificate validation (including hostname validation) of the broker.
For reference, a very similar problem was solved in BZ733447 for ssl communication with server certificate validation from Cumin (the Python client) to the condor-aviary server. The final solution uses python-ssl if the module is available, but falls back on m2crypto if not. This provides a solution on el6 with python-ssl and also a solution on el5 whether or not the unofficial backport of python-ssl has been installed.
*** This bug has been marked as a duplicate of bug 885167 ***