Mailing List Archive

[Spamassassin Wiki] Update of "SettingUpSSL" by JustinMason
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/SettingUpSSL

The comment on the change is:
quick page to note these commands

New page:
= 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
)
}}}