LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Qpopper SSL Problem (https://www.linuxquestions.org/questions/linux-software-2/qpopper-ssl-problem-141134/)

FragInHell 02-01-2004 05:08 PM

Qpopper SSL Problem
 
Guys HELP :)

I've downloaded and installed qpopper. All is working fine in normal mode. However I also wanted to use SSL. I've been following the installation instructions on the site but have come a bit stuck.

I'll paste here the commands I've used so far to compile and create the SSL keys etc.

Complied with :
./configure --with-openssl --enable-specialauth --enable-timing

mkdir - p -m 665/etc/mail/certs
chown root:mail /etc/mail/certs
chmod 660 /etc/mail/certs
openssl req -new -nodes -out req.pem -keyout /etc/mail/certs/cert.pem
chmod 600 /etc/mail/certs/cert.pem
chown root:0 /etc/mail/certs/cert.pem


I also generated my own key.
openssl genrsa -des3 -out ca.key 1024 openssl req -new -x509 -days 365 -key ca.key -out ca.crt
openssl x509 -req -CA ca.crt -CAkey ca.key -days 365 -in req.pem -out signed-req.pem -CAcreateserial
cat signed-req.pem >> /etc/mail/certs/cert.pem

Config File.
mkdir /etc/mail/pop
vi /etc/mail/pop/qpopper.config
set tls-support=alternate-port
set tls-server-CERT-file=/etc/mail/certs/cert.pem

xinetd.d config:
service pop3
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/sbin/popper
server_args = qpopper -s -l2 -f /etc/mail/pop/qpopper.config
port = 110
disable = no





My problems is the follow (in the maillog)

(v4.0.5) Timeout (120 secs) during SSL/TLS handshake with client at me.com 0.0.0.0
TLS/SSL Handshake failed: -1

Help what do i do now?


:scratch:


All times are GMT -5. The time now is 12:32 AM.