Re: Any update on lazy load SNI?

2022-11-03 Thread Pierre Allétru
Thank you for the information Joel, very helpful! We've started doing the exact same thing actually, with good ol' ssl_certificate_by_lua, until we realized this wouldn't work with STARTTLS/STLS. We'd like that to work though and we can't seem to find a solution if Dovecot can't smoothly handle SN

Re: Any update on lazy load SNI?

2022-11-03 Thread Joel A. Chornik
What we do is have openresty(nginx) sit as a reverse proxy on top of dovecot, and use lua to dynamically load certificates using sni. We have a large userbase (100k+) and works without issues, except that it does not work with STARTTLS, only IMAP+TLS. Has not been an issue, as we setup users us

Any update on lazy load SNI?

2022-11-03 Thread Pierre Allétru
Hi folks, We need to use SNI with Dovecot at a relatively large scale and I was wondering if there's any update on the ability to: 1 - Lazy load SNI certificates when they are needed instead of loading them all at once during startup/reload, thus taking a lot of memory and being very sl

Re: Multiple names in local_name for UCC certificates (was lazy-load SNI?)

2016-12-01 Thread Aki Tuomi
This has been merged, and hopefully will make it still to 2.2.27 release. Aki Tuomi Dovecot oy On 01.12.2016 09:45, Aki Tuomi wrote: > Thank you, we'll start looking at this. > > Aki > > On 01.12.2016 09:44, J. Nick Koston wrote: >> Hi Aki & Felipe, >> >> Attached is an implementation of supporti

Re: Multiple names in local_name for UCC certificates (was lazy-load SNI?)

2016-11-30 Thread Aki Tuomi
Thank you, we'll start looking at this. Aki On 01.12.2016 09:44, J. Nick Koston wrote: > Hi Aki & Felipe, > > Attached is an implementation of supporting multiple domains in local_name. > > Example > > local_name "mail.domain.tld domain.tld mx.domain.tld" { ... } > > This can significantly reduce

Multiple names in local_name for UCC certificates (was lazy-load SNI?)

2016-11-30 Thread J. Nick Koston
0001-config-Match-multiple-names-in-local_name.patch Description: Binary data smime.p7s Description: S/MIME cryptographic signature

Re: lazy-load SNI?

2016-11-15 Thread Felipe Gasper
> On Nov 11, 2016, at 9:06 AM, Aki Tuomi wrote: > > If you are interested in testing, please find patch attached that allows you > to specify > > local_name *.foo.bar { > } > > or > > local_name *.*.foo.bar { > } > Dear Aki et al., How straightforward would it be to implement the

Re: lazy-load SNI?

2016-11-11 Thread Arkadiusz Miśkiewicz
On Friday 11 of November 2016, KSB wrote: > >>> Great! Seems to be working fine for my usage and makes my configs 50% > >>> smaller (which is gigantic improvement). Will do more testing though. > >>> > >>> Thanks! > > A little bit offtopic, but what is the point of using imap/pop SNI? > All > cl

Re: lazy-load SNI?

2016-11-11 Thread Felipe Gasper
> On Nov 11, 2016, at 1:29 PM, KSB wrote: > Great! Seems to be working fine for my usage and makes my configs 50% smaller (which is gigantic improvement). Will do more testing though. Thanks! > > A little bit offtopic, but what is the point of using imap/pop SNI

Re: lazy-load SNI?

2016-11-11 Thread KSB
Great! Seems to be working fine for my usage and makes my configs 50% smaller (which is gigantic improvement). Will do more testing though. Thanks! A little bit offtopic, but what is the point of using imap/pop SNI? All clients want to connect to their own domain or what? -- Kaspars

Re: lazy-load SNI?

2016-11-11 Thread Arkadiusz Miśkiewicz
On Friday 11 of November 2016, Aki Tuomi wrote: > On 11.11.2016 19:17, Arkadiusz Miśkiewicz wrote: > > On Friday 11 of November 2016, Aki Tuomi wrote: > >> If you are interested in testing, please find patch attached that allows > >> you to specify > >> > >> local_name *.foo.bar { > >> } > >> > >

Re: lazy-load SNI?

2016-11-11 Thread Aki Tuomi
On 11.11.2016 19:17, Arkadiusz Miśkiewicz wrote: On Friday 11 of November 2016, Aki Tuomi wrote: If you are interested in testing, please find patch attached that allows you to specify local_name *.foo.bar { } or local_name *.*.foo.bar { } so basically you can now use certificate name mat

Re: lazy-load SNI?

2016-11-11 Thread Arkadiusz Miśkiewicz
On Friday 11 of November 2016, Aki Tuomi wrote: > If you are interested in testing, please find patch attached that allows > you to specify > > local_name *.foo.bar { > } > > or > > local_name *.*.foo.bar { > } > > so basically you can now use certificate name matching rules for > local_name.

Re: lazy-load SNI?

2016-11-11 Thread Aki Tuomi
On 11.11.2016 12:22, Arkadiusz Miśkiewicz wrote: On Friday 11 of November 2016, Felipe Gasper wrote: Hello, We’re rolling out large SNI deployments for our mail servers. Each domain gets an entry like this in the config: local_name mail.foo.com { ssl_cert = Lack of glob/regexp

Re: lazy-load SNI?

2016-11-11 Thread Felipe Gasper
> On Nov 11, 2016, at 5:36 AM, Aki Tuomi wrote: > > Hi! > > We are going to do some changes at some point how the certs are loaded and > handled to alleviate this. The idea is not yet ripe, so I won't go into too > much detail, but idea is to move the cert storage from protocol login > proce

Re: lazy-load SNI?

2016-11-11 Thread Aki Tuomi
> On November 11, 2016 at 12:22 PM Arkadiusz Miśkiewicz wrote: > > > On Friday 11 of November 2016, Felipe Gasper wrote: > > Hello, > > > > We’re rolling out large SNI deployments for our mail servers. Each > > domain > > gets an entry like this in the config: > > > > local_name mail.foo

Re: lazy-load SNI?

2016-11-11 Thread Arkadiusz Miśkiewicz
On Friday 11 of November 2016, Felipe Gasper wrote: > Hello, > > We’re rolling out large SNI deployments for our mail servers. Each > domain > gets an entry like this in the config: > > local_name mail.foo.com { > ssl_cert = ssl_key = } Lack of glob/regexp support here is also a

Re: lazy-load SNI?

2016-11-10 Thread Aki Tuomi
On 11.11.2016 01:02, Felipe Gasper wrote: Hello, We’re rolling out large SNI deployments for our mail servers. Each domain gets an entry like this in the config: local_name mail.foo.com { ssl_cert = Unfortunately it's not possible now, it has been asked before though. We have

lazy-load SNI?

2016-11-10 Thread Felipe Gasper
Hello, We’re rolling out large SNI deployments for our mail servers. Each domain gets an entry like this in the config: local_name mail.foo.com { ssl_cert =