Hello,

 

I'm trying to setup a proper SSL certificate for TLS/SSL encryption with
Spamduke 4.2.0. So I set it up in /etc/spamdyke.conf:

 

tls-certificate-file=/etc/ssl/private/www_mydomain_de.pem

 

The pem file contains both private key and certificate and already
successfully used in CourierSSL.

 

Spamdyke complains in the qmail logfile:

 

2011-08-15 21:15:09.314426500 spamdyke[10646]: ERROR: unable to load SSL/TLS
certificate from file: /etc/ssl/private/www_mydomain_de.pem : The operation
failed due to an I/O error, Unexpected EOF found,
error:0200100D:lib(2):func(1):reason(13),
error:20074002:lib(32):func(116):reason(2),
error:140DC002:lib(20):func(220):reason(2)

2011-08-15 21:15:09.314426500 spamdyke[10646]: ERROR: incorrect SSL/TLS
private key password or SSL/TLS certificate/privatekey
mismatch/etc/ssl/private/www_ mydomain _de.pem : A protocol or library
failure occurred, error:140A80B1:lib(20):func(168):reason(177)

2011-08-15 21:15:09.314426500 spamdyke[10646]: ERROR: unable to initialize
SSL/TLS library

 

What does it mean? Why can't the certificate be used by Spamdyke. The server
is running Debian with openssl 0.9.8o-4squeeze1 installed.

 

The default qmail certificate /var/qmail/control/servercert.pem can be used
by Spamdyke without any errors.

 

I already gave my pem file the reading permissions for vpopmail user which
is running tcpserver that starts spamdyke.

 

Can the problem be caused by the fact that my SSL certificate needs
intermediate certificates to be assumed as trustful by clients. How can I
tell the Spamdyke to use an intermediary ca-bundle file? (In CourierSSL it
is done with TLS_TRUSTCERTS=/etc/ssl/private/www_mydomain_de.ca-bundle
directive).

 

Thanks Alex

 

_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to