Do you refer to the next code block?
- https://github.com/kamailio/kamailio/blob/master/src/modules/tls/tls_mod.c#L...
If yes, as I can see it, the `tls_fix_domains_cfg()` is executed for `rank == PROC_SIPINIT` when libssl is >=1.1.x, which means it is done only for the first SIP worker process (with the rank 1).