mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #3954 from modoboa/3771-dovecot-self-signed-cert
docs: add self signed certificate tips
This commit is contained in:
@@ -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
|
||||
```
|
||||
:::
|
||||
Reference in New Issue
Block a user