<div dir="ltr"><div>Hi Razvan,<br><br></div>I have compiled TLS module from the menuconfig and proto_tls.so is there in the modules directly. But the issue which i found was, when i put the loadmodule proto_tls.so and its subsequent modparam on top of all other modules in config, its giving out an error, &quot;can&#39;t find shared object file&quot;, i suppose the file is (openssl/ssl.h). And when i move down all the TLS lines after all other loadmodule statements in config, it is working fine.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 5:26 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, John!<br>
      <br>
      Do you have proto_tls.so in your modules directory? How did you
      install opensips? If you installed it from sources, did you enable
      TLS in your setup using menuconfig? If you installed it from deb,
      did you install opensips-tls-module?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
    <div>On 10/31/2015 07:28 AM, John Mathew
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi,<br>
              <br>
            </div>
            Anybody knows why this happens when loading tls module in
            opensips 2.1?<br>
          </div>
          Openssl ans openssl-devel is install.<br>
        </div>
        libssl files are in /usr/lib64<br>
        <div>
          <div>
            <div>
              <div><br>
                Oct 31 01:23:44 SERVER24 opensips:
                ERROR:core:sr_load_module: could not open module
                &lt;proto_tls.so&gt;: proto_tls.so: cannot open shared
                object file: No such file or directory<br>
                Oct 31 01:23:44 SERVER24 opensips:
                ERROR:core:load_module: failed to load module<br>
                Oct 31 01:23:44 SERVER24 opensips:
                CRITICAL:core:yyerror: parse error in config file
                /usr/local/opensips/etc/opensips/opensips.cfg, line 30,
                column 13-14: failed to load module proto_tls.so#012<br>
                <br clear="all">
                <div>
                  <div><br>
                  </div>
                  <div>Thanks.<br>
                  </div>
                  <div><br>
                    -- <br>
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr"><font size="-1">
                                  <table style="border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-family:Roboto;font-size:12px">
                                    <tbody>
                                      <tr>
                                        <td colspan="2" style="padding:0px 0px 8px;border:0px none;outline:medium none;color:rgb(79,129,162)"><br>
                                        </td>
                                      </tr>
                                      <tr>
                                        <td style="padding:0px 12px 0px 0px;border:0px none;outline:medium none;vertical-align:top"><br>
                                        </td>
                                        <td style="padding:0px 12px 0px 0px;border:0px none;outline:medium none;vertical-align:top"><br>
                                        </td>
                                      </tr>
                                      <tr>
                                        <td colspan="2" style="padding:0px;border:0px none;outline:medium none"><br>
                                        </td>
                                      </tr>
                                      <tr>
                                        <td colspan="2" style="padding:0px;border-width:2px 0px 0px;border-top:2px solid rgb(79,129,162);outline:medium none;text-align:right"><br>
                                        </td>
                                      </tr>
                                    </tbody>
                                  </table>
                                </font></div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="-1"><table style="border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-family:Roboto;font-size:12px"><tbody><tr><td colspan="2" style="padding:0px 0px 8px;border:0px;outline:none;color:rgb(79,129,162)"><span style="font-family:arial">John Mathew</span>   <span style="font-size:11px;font-family:arial">Divox International Inc. | Divox FZ LLC</span></td></tr><tr><td style="padding:0px 12px 0px 0px;border:0px;outline:none;vertical-align:top"><div style="margin:0px 0px 5px;padding:0px;border:0px;outline:none;color:rgb(141,141,141)"><span style="font-size:11px;font-family:arial"><img src="https://editor.newoldstamp.com/images/phone_g.png" style="border:none" height="12" width="12"></span> <span style="font-size:11px;font-family:arial">+971-7-243-1145</span></div><div style="margin:0px 0px 5px;padding:0px;border:0px;outline:none;color:rgb(141,141,141)"><span style="font-size:11px;font-family:arial"><img src="https://editor.newoldstamp.com/images/mobile_g.png" style="border:none" height="12" width="12"></span> <span style="font-size:11px;font-family:arial">+91-9037-100001</span></div></td><td style="padding:0px 12px 0px 0px;border:0px;outline:none;vertical-align:top"><div style="margin:0px 0px 5px;padding:0px;border:0px;outline:none;color:rgb(141,141,141)"><span style="font-size:11px;font-family:arial;border-left-width:1px;border-left-style:solid;border-left-color:rgb(79,129,162);padding:0px 0px 0px 10px"><img src="https://editor.newoldstamp.com/images/email_g.png" style="border:none" height="12" width="12"></span> <a href="mailto:jake.mathew@divoxmedia.com" style="outline:none;color:rgb(123,123,147);font-size:11px;text-decoration:none;font-family:arial" target="_blank">john.mathew@divoxmedia.com</a></div><div style="margin:0px 0px 5px;padding:0px;border:0px;outline:none;color:rgb(141,141,141)"><span style="font-size:11px;font-family:arial;border-left-width:1px;border-left-style:solid;border-left-color:rgb(79,129,162);padding:0px 0px 0px 10px"><img src="https://editor.newoldstamp.com/images/website_g.png" style="border:none" height="12" width="12"></span> <a href="http://www.divoxmedia.com/" style="outline:none;color:rgb(123,123,147);text-decoration:none;font-size:11px;font-family:arial" target="_blank">www.divoxmedia.com</a></div></td></tr><tr><td colspan="2" style="padding:0px;border:0px;outline:none"><div style="margin:0px 0px 5px;padding:0px;border:0px;outline:none;color:rgb(141,141,141)"><span style="font-size:11px;font-family:arial"><img src="https://editor.newoldstamp.com/images/address_g.png" style="border:none" height="12" width="12"></span> <span style="font-size:11px;font-family:arial">375 Park Avenue, Seagram Building, Suite: 2607, New York City, New York, USA - 10152</span></div></td></tr><tr><td colspan="2" style="padding:0px;border-width:2px 0px 0px;border-top-style:solid;border-top-color:rgb(79,129,162);outline:none;text-align:right"><div style="margin:0px;padding:3px 0px 0px;border:0px;outline:none"><a href="https://www.linkedin.com/pub/john-mathew/20/634/642" style="outline:none;color:rgb(22,126,188)" target="_blank"><img alt="" src="https://docs.google.com/uc?export=download&amp;id=0B5Uz-rLQDGH9b2ptUjkzNUZLRVk&amp;revid=0B5Uz-rLQDGH9eDBlV2lrS3RZeDJxQXhUVWxJL0FjNno5YW5RPQ"><img src="https://editor.newoldstamp.com/images/in.jpg" style="border:none" height="20" width="20"></a></div></td></tr></tbody></table></font></div></div></div></div></div></div>
</div>