LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-15-2003, 07:09 AM   #1
frerotjs
LQ Newbie
 
Registered: Jul 2003
Location: Montreal
Posts: 1

Rep: Reputation: 0
Question qpopper TLS/SSL Handshake failed: -1


Hi, I just compiled qpopper 4.0.5 with the SSL option. But I can't get it working. I followed instructions to generate a "cert.pem" file that seems to be ok. I can successfully load qpopper without any error. When I try to pop with my mail client (Eudora or Outlook Express) it isn't working. I got a timeout error.

When i disable ssl, user can successfully log, but as soon as I enable ssl and also enable ssl support on the client side, it isn't working.

Here is the cmd line I use to load qpopper:

popper -s -f /etc/mail/pop/qpopper.config

the content of qpopper.config is the following:

set debug = true
set tls-support = alternate-port
set tls-version = default
set tls-server-cert-file = /etc/mail/certs/cert.pem

Here is the log I get in syslog when I try to pop:

Jul 13 16:58:29 josias popper[15340]: popper: Server: listening on 0.0.0.0:110
Jul 13 16:58:44 josias popper[15342]: Set debug to true
Jul 13 16:58:44 josias popper[15342]: Set tls-support to alternate-port (1)
Jul 13 16:58:44 josias popper[15342]: Set tls-version to default (0)
Jul 13 16:58:44 josias popper[15342]: Set tls-server-cert-file to "/etc/mail/certs/cert.pem"
Jul 13 17:00:46 josias popper[15342]: (v4.0.5) Timeout (120 secs) during SSL/TLS handshake with client at clovis.mshome.net (192.168.0.1)
Jul 13 17:00:46 josias popper[15342]: TLS/SSL Handshake failed: -1

I used Eudora to test the client side and I have this error:

<Dominant>, Logging into POP Server, [08:32:05 PM]
Error reading from network Cause: Connection closed by foreign host. (0)

You will also notice that even if I used the "alternate-port" option the server is still listening on port 110.

Any help would be much appreciated.

Thank you
Jean-Sebastien
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd ssl/tls jefffq Linux - Software 2 07-05-2005 06:38 PM
Problem with QPopper & tls PktLoss Linux - Software 0 05-21-2005 07:37 PM
up2date SSL handshake problem kamii47 Red Hat 1 04-21-2005 03:16 PM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 03:39 PM


All times are GMT -5. The time now is 11:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration