Differences between revisions 1 and 2
Revision 1 as of 2007-01-16 23:25:50
Size: 600
Editor: JustinMason
Comment: quick page to note these commands
Revision 2 as of 2009-09-20 23:17:03
Size: 600
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Setting Up SSL

Here's how I generated SSL certificates for use with "spamd --ssl" and "spamc --ssl":

rm -rf /etc/mail/spamassassin/certs
mkdir -p /etc/mail/spamassassin/certs
(
cd /etc/mail/spamassassin/certs
openssl genrsa 2048 > ca-key.pem
openssl req -new -x509 -nodes -days 1000 -key ca-key.pem > ca-cert.pem
openssl req -newkey rsa:2048 -days 1000 \
  -nodes -keyout server-key.pem > server-req.pem
[enter whatever random data you feel like]
openssl x509 -req -in server-req.pem -days 1000 \
  -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 > server-cert.pem
)

SettingUpSSL (last edited 2009-09-20 23:17:03 by localhost)