<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>the path provided for ca_list seems wrong compared with the rest
      of the paths, do you have the two of them, one with kamailio and
      one with sip-router?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12.04.18 14:33, Jignesh Gandhi
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6B75699E-B2FC-4BBE-87CC-6589F6B67406@contoso.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Andale Mono";
        panose-1:2 11 5 9 0 0 0 0 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        margin-bottom:.0001pt;
        background:black;
        font-size:9.0pt;
        font-family:"Andale Mono";
        color:#8CFFB4;}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        margin:0in;
        margin-bottom:.0001pt;
        background:black;
        font-size:9.0pt;
        font-family:"Andale Mono";
        color:#28FE14;}
p.p3, li.p3, div.p3
        {mso-style-name:p3;
        margin:0in;
        margin-bottom:.0001pt;
        background:black;
        font-size:9.0pt;
        font-family:"Andale Mono";
        color:#28F0EF;}
p.p4, li.p4, div.p4
        {mso-style-name:p4;
        margin:0in;
        margin-bottom:.0001pt;
        background:black;
        font-size:9.0pt;
        font-family:"Andale Mono";
        color:#FF3CFF;}
span.s2
        {mso-style-name:s2;
        color:#FF3CFF;}
span.s3
        {mso-style-name:s3;
        color:#ECEC15;}
span.s4
        {mso-style-name:s4;
        color:#28FE14;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:9.5pt">I want to
            enable certificate validation on the server. I am only using
            self-signed certs.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt">I have the
            same certificate/key in the client and  server and want to
            only allow connection from clients with this cert/key.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt">I have turned
            on the following in tls.cfg and done all the steps required
            in kamailio.cfg file.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="p1"><span class="s1">[server:default]</span><o:p></o:p></p>
        <p class="p2"><span class="s1">method =</span><span class="s2">
            TLSv1</span><o:p></o:p></p>
        <p class="p2"><span class="s1">verify_certificate =</span><span
            class="s2"> </span>
          <span class="s3">yes</span><span class="apple-converted-space"><span
              style="color:#FF3CFF"> </span></span><o:p></o:p></p>
        <p class="p2"><span class="s1">require_certificate =</span><span
            class="s2"> </span>
          <span class="s3">yes</span><span class="apple-converted-space"><span
              style="color:#FF3CFF"> </span></span><o:p></o:p></p>
        <p class="p4"><span class="s4">private_key =</span><span
            class="s1"> /usr/local/etc/kamailio/selfsigned.key</span><o:p></o:p></p>
        <p class="p4"><span class="s4">certificate =</span><span
            class="s1"> /usr/local/etc/kamailio/selfsigned.pem</span><o:p></o:p></p>
        <p class="p4"><span class="s4">ca_list =</span><span class="s1">
            /usr/local/etc/sip-router/cacert.pem</span><span
            style="color:windowtext"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="background:black"><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#34BC26">[client:default]<o:p></o:p></span></p>
        <p class="MsoNormal" style="background:black"><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#28FE14">verify_certificate =</span><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#C33720">
          </span><span style="font-size:9.0pt;font-family:"Andale
            Mono";color:#CD7923">yes</span><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#C33720"> </span><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#28FE14"><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:black"><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#28FE14">require_certificate =</span><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#C33720">
          </span><span style="font-size:9.0pt;font-family:"Andale
            Mono";color:#CD7923">yes</span><span
            style="font-size:9.0pt;font-family:"Andale
            Mono";color:#28FE14"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt">Any help is
            appreciated.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt">Thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.5pt">--Jignesh<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>