I'm having problems getting tmda-ofmipd to accept TLS connections.

I've installed the tlslite application with the TMDA-patch for Python 2.5 and 
created a server certificate and a server key. However, when I attempt to 
create a connection as follows (or via an email client):

telnet localhost 8025
EHLO there
STARTTLS
EHLO there

tmda-ofmipd crashes with the following debug output (beginning from the telnet 
connection):

Incoming connection from: ('192.168.1.2', 48301)
Incoming connection to: ('192.168.1.2', 8025)
Data: 'EHLO localhost'
Data: 'STARTTLS'
error: uncaptured python exception, closing channel <__main__.SMTPSession 
connected 192.168.1.2:48301 at 0x9bd1d4c> 
(<class 'tlslite.errors.TLSLocalAlert'>:decode_error: Traceback (most recent 
call last):
  File "/usr/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 564, 
in _getMsg
    for result in self._getNextRecord():
  File "/usr/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py", line 748, 
in _getNextRecord
    raise SyntaxError()
SyntaxError: None
 [/usr/lib/python2.5/asyncore.py|read|68] [/usr/lib/python2.5/asyncore.py|
handle_read_event|390] [/usr/bin/tmda-ofmipd|handle_read|1285] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
inReadEvent|123] 
[/usr/lib/python2.5/site-packages/tlslite/integration/AsyncStateMachine.py|
_doHandshakeOp|157] 
[/usr/lib/python2.5/site-packages/tlslite/TLSConnection.py|
handshakeServerAsync|1032] 
[/usr/lib/python2.5/site-packages/tlslite/TLSConnection.py|
_handshakeWrapperAsync|1537] 
[/usr/lib/python2.5/site-packages/tlslite/TLSConnection.py|
_handshakeServerAsyncHelper|1089] 
[/usr/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py|_getMsg|706] 
[/usr/lib/python2.5/site-packages/tlslite/TLSRecordLayer.py|_sendError|450])

Can someone help me figure out what's going wrong?

--Ole

Attachment: signature.asc
Description: This is a digitally signed message part.

_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to