emailrelay: conf: TLS split cert and private key
authorSergey Ponomarev <[email protected]>
Wed, 30 Aug 2023 17:00:45 +0000 (20:00 +0300)
committerJosef Schlehofer <[email protected]>
Wed, 21 May 2025 09:08:36 +0000 (11:08 +0200)
commit7383eb093b5e038574c04514a624e4a46740a1bc
tree3b90c4b6b65e545957f913310574c614b8819952
parentccd014b247ae8ad789a8e3aaa59da1a98d270e88
emailrelay: conf: TLS split cert and private key

Since v2.3.1 --server-tls-certificate and --client-tls-certificate may be comma separated list of privkey and fullchain so users don't need to merge the both files.
The privkey must be firts, the cert second.
Reflect this in config samples.

Alternatively instead of comma separated the emailrelay allows just pass two --server-tls-certificate options: one for a privkey and second time for a cert.

So the server_tls_certificate option may be a list. But instead to make it easier to configure from UCI let's add a separate option server-tls-key which is dedicated for a privkey.

Similarly, the client-tls-key is a private key part for the --client-tls-certificate

Signed-off-by: Sergey Ponomarev <[email protected]>
mail/emailrelay/files/emailrelay.init