Qmail SSL InstallationSecurity CertificateTo configure a SSL certificate for TLS and/or SSL over SMTP (using xxx.com): 1) Create a private key using the triple des encryption standard (recommended or according to CA site): openssl genrsa -des3 -out servercert.key.enc 2048 2) Remove the pass phrase from the private key:openssl rsa -in servercert.key.enc -out servercert.key 3) Generate Certificate Requestopenssl req -new -key servercert.key -out servercert.csr
4) Go to DiscountWebCerts and submit servercert.csr for a trusted certificate ($19.95). You will then receive a servercert.crt. Now just do the following. cp -p /var/qmail/control/servercert.pem /var/qmail/control/servercert.pem.orig 7) By default, As SSL over SMTP on port 465 is depreciated, there is nothing listening on port 465 with the basic Qmail-Toaster. Therefore make the stunnel: cp -p /var/qmail/control/servercert.pem /etc/stunnel/mail.pem openssl s_client -host mail.xxx.com -port 465 Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |