Alex Dean escribió:

On May 4, 2006, at 11:49 AM, Ingo Claro wrote:

check the version of stunnel instaled, and use the corresponding run script for qmail-pop3ds


kiltlifter:/var/qmail/control# stunnel -V
stunnel 3.26 on i486-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.8a 11 Oct 2005

I used pop3ds.run, not pop3ds.run.v4, so I think I am using the correct one already.

Question : How is /var/qmail/supervise/qmail-pop3ds/stunnel.conf used? It's not mentioned in /var/qmail/supervise/qmail-pop3ds/run. I see 'domain.com' mentioned in stunnel.conf. I took a guess that I should edit this to my server's domain name, but that also did not change the error I have been seeing.
it's used only for v4.
in v3 all the parameters are in the run script.

###############################################
kiltlifter:/var/qmail/supervise/qmail-pop3ds# more stunnel.conf
cert = /var/qmail/control/servercert.pem
key = /var/qmail/control/clientcert.pem
exec = /var/qmail/bin/qmail-popup
execargs = qmail-popup deanspot.org /home/vpopmail/bin/vchkpw /var/qmail/bin/qma
il-pop3d Maildir

kiltlifter:/var/qmail/supervise/qmail-pop3ds# ls -l /var/qmail/control/*pem lrwxrwxrwx 1 root root 33 2006-05-04 10:28 /var/qmail/control/clientcert.pem -> /var/qmail/control/servercert.pem -rw-r----- 1 vpopmail qmail 245 2006-05-04 10:32 /var/qmail/control/dh1024.pem -rw-r----- 1 vpopmail qmail 156 2006-05-04 10:32 /var/qmail/control/dh512.pem -rw-r----- 1 vpopmail qmail 493 2006-05-04 10:32 /var/qmail/control/rsa512.pem -rw-r----- 1 vpopmail qmail 2197 2006-05-04 10:28 /var/qmail/control/servercert.pem
###############################################

Is it correct that clientcert.pem should be a symlink to servercert.pem? stunnel.conf is then using the same file for 'cert' and 'key'. I admit I don't know much about SSL, but it seems like the certificate and key should be different files.

alex

Reply via email to