Register different tls certificates at peer level in chan_sip

Hi,

Due to one particular requirement that I have, I want to configure 2 different TLS certificates to be used on SIP transport for 2 different peers.
First of all, is it even possible in chan_sip.so ? if yes then can some one guide me through how to configure this.
I tried to configure the certificate in peer configuration, but that seems to not work.

Regards

On chan_sip those 2 settings are set under general section

tlscertfile=/etc/asterisk/asterisk.pem

tlscafile=/etc/ssl/ca.pem ; This is the CA file used to generate both certificates

https://wiki.asterisk.org/wiki/display/AST/SIP+TLS+Transport

I think the OP wants a different tlscertfile for each peer, which he can’t have, or at least not without using multiple transports in chan_pjsip.

I’m not sure I understand what you mean by both here

1 Like

As is well known, when using chan_sip there is only one transport section, which is configured under general section, Having said that, it is clear these settings can’t be applied individually on each SIP peer

1 Like

Thanks for your inputs

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.