[REVISIONS] How to install SSL Certificate on Dovecot and Postfix
Subject: [REVISIONS] How to install SSL Certificate on Dovecot and Postfix
Good day from Singapore,
Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL)
Country: Singapore
Date of Implementation: 6 Jan 2023 Friday
SECTION ON DOVECOT
===================
# cd /etc/dovecot/conf.d
# nano 10-ssl.conf
ssl = yes
ssl_cert = </home/teo-en-ming-corp/2023.crt
ssl_key = </home/teo-en-ming-corp/2023.key
ssl_ca = </home/teo-en-ming-corp/inter2023.crt
# nano /etc/dovecot/dovecot.conf
protocols = imap pop3
!include conf.d/*.conf
SECTION ON POSTFIX
===================
# nano /etc/postfix/main.cf
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/2023.key
smtpd_tls_cert_file = /etc/postfix/chain2023.crt
smtpd_tls_CAfile = /etc/postfix/inter2023.crt
Note: chain2023.crt is made by combining 2023.crt and inter2023.crt
# nano /etc/postfix/master.cf
submission inet n - n - - smtpd
smtps inet n - n - - smtpd
tlsmgr unix - - n 1000? 1 tlsmgr
That's all.
Regards,
Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
Blogs:
https://tdtemcerts.blogspot.com
https://tdtemcerts.wordpress.com
REFERENCES
============
[1] https://dovecot.org/pipermail/dovecot/2023-January/126005.html
[2] https://www.mail-archive.com/dovecot@dovecot.org/msg87368.html
[3] https://marc.info/?l=dovecot&m=167478858515068&w=2
[5] https://www.mail-archive.com/postfix-users@postfix.org/msg97827.html
[6] https://marc.info/?l=postfix-users&m=167478929215272&w=2
Comments
Post a Comment