Hello,

older versions of kamailio packages included self signed certificates, but, afaik, the newer do not include as Debian imposed reproducible builds. The certificate being generated at build time, was always different.

So you have to generate the certificates yourself. One option is to get a clone of the source tree of kamailio and go to src/modules/tls and run:

./sip-router_cert.sh -d /etc/kamailio/

Cheers,
Daniel

On 31.05.18 16:10, Henning Westerholt wrote:

Am Dienstag, 29. Mai 2018, 10:13:56 CEST schrieb Narasimhaiah, Vinod Maralenahalli:

> I upgraded kamailio 4.4.2 to kamailio5.1.3 and i am getting this error

> *"Unable to load certificate file '/etc/kamailio/kamailio-selfsigned.pem",*

> kamilio 4.4.2 does not need the ssl file, but kamailio 5.1.3 need ssl file,

> what changes required in kamailio 5.1.3 to run with tls.

>

> Please help me in resolving this issue.

 

Hello Vinod,

 

have you already tried to just supply the certificate file? You'll find in the module README some documentation in section 8. a certificate how-to.

 

Best regards,

 

Henning



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com