Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236571

Re: Dovecot: ssl_ca_path not respected?

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Dovecot: ssl_ca_path not respected?
Date 2021-06-28 15:20 +0200
Message-ID <CuZl7-Hs-1@gated-at.bofh.it> (permalink)
References <CuYS5-fR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Bagas Sanjaya wrote: 
> Hi,
> 
> I have difficulties setting up Dovecot to connect to remote MariaDB instance
> over TLS.
> 
> So I have two Debian 11 LXD containers spun up, one as mail server with
> Postfix and Dovecot, and one as database instance with MariaDB. The LXD host
> is Ubuntu 20.04.

The first problem is that you have introduced a new point of
failure: if you set up dovecot to use a database, that database
must be functioning for dovecot to work. Putting it into a
different VM or container adds complexity and a source of
failure without gaining you anything at all. And once dovecot
and the database are in the same container/VM, they don't need
SSL to communicate securely.

The second problem is that ssl_ca should point to the CA bundle
for your desired SSL cert -- in this case, your own CA.

It is probably indicative of something that the only mention of 
ssl_ca_path in Dovecot's documentation is in a comment in the config.


-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Dovecot: ssl_ca_path not respected? Bagas Sanjaya <bagasdotme@gmail.com> - 2021-06-28 14:50 +0200
  Re: Dovecot: ssl_ca_path not respected? Dan Ritter <dsr@randomstring.org> - 2021-06-28 15:20 +0200
    Re: Dovecot: ssl_ca_path not respected? Bagas Sanjaya <bagasdotme@gmail.com> - 2021-06-29 03:00 +0200

csiph-web