TLS certificates Asterisk & Kamailio

Hello everyone,

I have a quick question. I’m working on a local project where Kamailio acts as a proxy and Asterisk handles the media. Both are running in separate Docker containers.
For tls communication between the two, should I generate a separate TLS certificate for each container, or create only one certificate and use it for both?

Thanks in advance!

what do u mean by creating one certificate and use it for both? since server certificates are usually tied to a specific ip address.