Oracle Linux/Simple IMAP Server
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "==Overview== Dovecot for POP/IMAP<br> Postfix for SMTP ==Setup SSL== Just going to use a simple self-signed cert. <nowiki> sudo openssl req -x509 -nodes -days 365 -newkey rs...") |
|||
Line 4: | Line 4: | ||
==Setup SSL== | ==Setup SSL== | ||
− | Just going to use a simple self-signed cert. | + | Just going to use a simple self-signed cert. However, before we can, we need to create a symlink so that we utilize the existing private directory and create a link from the standard location for private keys to the actual location. |
<nowiki> | <nowiki> | ||
− | sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/mail.key -out /etc/ssl/certs/mailcert.pem | + | ~$ cd /etc/ssl/ |
+ | ~$ sudo ln -s ../pki/tls/private/ private | ||
+ | ~$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/mail.key -out /etc/ssl/certs/mailcert.pem | ||
</nowiki> | </nowiki> |
Revision as of 11:39, 28 November 2016
Overview
Dovecot for POP/IMAP
Postfix for SMTP
Setup SSL
Just going to use a simple self-signed cert. However, before we can, we need to create a symlink so that we utilize the existing private directory and create a link from the standard location for private keys to the actual location.
~$ cd /etc/ssl/ ~$ sudo ln -s ../pki/tls/private/ private ~$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/mail.key -out /etc/ssl/certs/mailcert.pem