c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06075
Re: [Bug 682579] [NEW] SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib
On Monday 29 November 2010, you wrote:
> Public bug reported:
>
> I can't connect to a remote server using the secure port, I dot this
> error in the server output :
>
>...
> SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL
> routines:SSL_CTX_use_PrivateKey_file:system lib
I highly suspect that you have not setup your SSL private key right (as the
message suggests).
> In fact, I don't understand the error, so if it's not a bug, maybe you
> could make the error easier to understand ?
There is a technical problem with those SSL exceptions: they are all mapped to
the same pythonic one, and we need string matching/analysis to resolve them to
more meaningful errors. That's still pending.
--
SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib
https://bugs.launchpad.net/bugs/682579
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: New
Bug description:
I can't connect to a remote server using the secure port, I dot this error in the server output :
Traceback (most recent call last):
File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 527, in _handle_request2
self.process_request(request, client_address)
File "/usr/lib/python2.6/SocketServer.py", line 309, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 245, in __init__
SocketServer.StreamRequestHandler.__init__(self,request,client_address,server)
File "/usr/lib/python2.6/SocketServer.py", line 616, in __init__
self.setup()
File "/home/openerp/openerp/server/bin/service/websrv_lib.py", line 464, in setup
ssl_version=ssl.PROTOCOL_SSLv23)
File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/usr/lib/python2.6/ssl.py", line 118, in __init__
cert_reqs, ssl_version, ca_certs)
SSLError: [Errno 336265218] _ssl.c:339: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib
In fact, I don't understand the error, so if it's not a bug, maybe you could make the error easier to understand ?
References