SSL сертификат для Dovecot

Генерируем openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem Установка SSL сертификата сводится к нескольким шагам: 1. Поместите файл сертификата в директорию /etc/ssl/certs/, а файл ключа в /etc/ssl/private 2. Укажите в файле настроек ssl для dovecot эти параметры. Обычно файл располагается в /etc/dovecot/conf.d/10-ssl.conf ssl = yes # Владелец и группа файла root:root, …

Continue reading ‘SSL сертификат для Dovecot’ »

SSL сертификат для Postfix

Create a root private key: # openssl genrsa -out rootCA.key 2048 Change permissions of this private key to 400: # chmod 400 /usr/share/ssl/certs/postfix/rootCA.key Create self-singed root certificate: # openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem With the following data (change information to required): Country Name (2 letter code) [AU]:XX State or …

Continue reading ‘SSL сертификат для Postfix’ »