qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Roger" <roger.wil...@lehman.com>
Subject RE: SSL problems with Qpid Python client
Date Wed, 29 Apr 2009 08:05:32 GMT
Finally I managed to get this to work by commenting out the ssl socket
wrapping in connection.py...

def sslwrap(sock):
  #if isinstance(sock, socket.SSLType):
  #  return SSLWrapper(sock)
  #else:
  return sock

Hopefully the client will eventually be updated to reflect the changes
to ssl made in python 2.6 but this works for me now.

-----Original Message-----
From: Wilson, Roger 
Sent: 28 April 2009 14:44
To: users@qpid.apache.org
Subject: RE: SSL problems with Qpid Python client

Josh

That could well be it though I did check the occurance of SSType in 2.5
and nothing I could see was different.

I am attempting to simply disable the ssl wrapper to see if that works.

Roger

-----Original Message-----
From: Joshua Kramer [mailto:josh@globalherald.net]
Sent: 28 April 2009 15:46
To: users@qpid.apache.org
Subject: RE: SSL problems with Qpid Python client


> I'm beginning to think this is more of a python problem than anything 
> to do with qpid.

This might be a 2.6 issue.  From the 'whatsnew' document:

http://docs.python.org/dev/whatsnew/2.6.html

----
Improved SSL Support

Bill Janssen made extensive improvements to Python 2.6.s support for the
Secure Sockets Layer by adding a new module, ssl, that.s built atop the
OpenSSL library. This new module provides more control over the protocol
negotiated, the X.509 certificates used, and has better support for
writing SSL servers (as opposed to clients) in Python. The existing SSL
support in the socket module hasn.t been removed and continues to work,
though it will be removed in Python 3.0.

To use the new module, you must first create a TCP connection in the
usual way and then pass it to the ssl.wrap_socket() function. It.s
possible to specify whether a certificate is required, and to obtain
certificate info by calling the getpeercert() method.
----

This is good in that Python now supports proper certificate
authentication, but it will cause those of us doing Python under
OpenOffice.org to bang our heads against a wall.

-- 

-----
http://www.globalherald.net/jb01
GlobalHerald.NET, the Smarter Social Network! (tm)

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


----------------------------------------

This message is intended only for the personal and confidential use of

the designated recipient(s) named above.  If you are not the intended

recipient of this message you are hereby notified that any review,

dissemination, distribution or copying of this message is strictly

prohibited.  This communication is for information purposes only and

should not be regarded as an offer to sell or as a solicitation of an

offer to buy any financial product, an official confirmation of any

transaction, or as an official statement of Lehman Brothers.  Email

transmission cannot be guaranteed to be secure or error-free.

Therefore, we do not represent that this information is complete or

accurate and it should not be relied upon as such.  All information is

subject to change without notice.

----------------------------------------



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


----------------------------------------
This message is intended only for the personal and confidential use of
the designated recipient(s) named above.  If you are not the intended
recipient of this message you are hereby notified that any review,
dissemination, distribution or copying of this message is strictly
prohibited.  This communication is for information purposes only and
should not be regarded as an offer to sell or as a solicitation of an
offer to buy any financial product, an official confirmation of any
transaction, or as an official statement of Lehman Brothers.  Email
transmission cannot be guaranteed to be secure or error-free.
Therefore, we do not represent that this information is complete or
accurate and it should not be relied upon as such.  All information is
subject to change without notice.
----------------------------------------


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message