diff --git a/doc-ng/installation/dovecot.md b/doc-ng/installation/dovecot.md index 684e7765a..506330db6 100644 --- a/doc-ng/installation/dovecot.md +++ b/doc-ng/installation/dovecot.md @@ -662,4 +662,21 @@ echo "UPDATE core_user SET last_login=now() WHERE username='$USER'" | mysql -u $ exec "$@" ``` +::: + +## self signed certificate + +If you wish to use a self-signed certificate, you must add the following line to the Dovecot configuration. + +```ini +# https://doc.dovecot.org/2.4.0/core/config/ssl.html#client-connections +ssl_client_ca_file = /etc/xxx/xxxx/nginx-self-signed-ssl-cert.pem +``` + +::: warning +It is important to verify that the hostname matches the one in your certificate. + +```shell +hostname -f +``` ::: \ No newline at end of file