Merge pull request #3954 from modoboa/3771-dovecot-self-signed-cert

docs: add self signed certificate tips
This commit is contained in:
Antoine Nguyen
2026-03-04 13:32:58 +01:00
committed by GitHub
+17
View File
@@ -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
```
:::