<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br><br>&gt; From: henning.westerholt@1und1.de<br>&gt; To: sr-users@lists.sip-router.org<br>&gt; Subject: Re: [SR-Users] error when install kamailio with TLS module.<br>&gt; Date: Fri, 3 Sep 2010 09:47:15 +0200<br>&gt; CC: betergreen@live.com<br>&gt; <br>&gt; On Friday 03 September 2010, peter_green lion wrote:<br>&gt; &gt; I try to install kamailio with enable TLS module, but it raise error.<br>&gt; &gt; when i enable module TLS and run command make all,make install, the error<br>&gt; &gt;  is :<br>&gt; &gt; <br>&gt; &gt; #make install<br>&gt; &gt; <br>&gt; &gt; Makefile.defs defs skipped<br>&gt; &gt; make[1]: Entering directory `/usr/src/kamailio-3.0.1/modules/tls'<br>&gt; &gt; MAIN_NAME=kamailio ./sip-router_cert.sh -d /usr/local/etc/kamailio/<br>&gt; &gt; hostname: Unknown host<br>&gt; &gt; ./sip-router_cert.sh: line 142: which: command not found<br>&gt; &gt; Could not find openssl command<br>&gt; &gt; Set OPENSSL environment variable properly (see -h for more info)<br>&gt; &gt; [..]<br>&gt; &gt; please help me find and fix this problem,<br>&gt; <br>&gt; Hi Peter,<br>&gt; <br>&gt; you don't have openssl installed on the machine, or its not in the default <br>&gt; path. Either install it, or set the OPENSSL variable to the proper location of <br>&gt; the binary. Just run this command to get more informations:<br>&gt; <br>&gt; ~/projects/sip-router/modules/tls$ ./sip-router_cert.sh -h<br>&gt; NAME<br>&gt;   sip-router_cert.sh - Generate a self-signed TLS/SSL certificate for use with <br>&gt; sip-router.<br>&gt; ...<br>&gt; <br>&gt; Cheers,<br>&gt; <br>&gt; Henning<br><br>hi Henning,<br>i have run command to check:<br>yum install openssl <br>Setting up Install Process<br>Parsing package install arguments<br>Package openssl - 0.9.8e-12.el5_4.6.i686 is already installed.<br>Nothing to do<br><br><br><br>[root@appliance kamailio-3.0.2]# yum install openssl-dev<br>Loading "fastestmirror" plugin<br>Loading mirror speeds from cached hostfile<br>&nbsp;* base: mirror-fpt-telecom.fpt.net<br>&nbsp;* updates: mirror-fpt-telecom.fpt.net<br>&nbsp;* addons: mirror-fpt-telecom.fpt.net<br>&nbsp;* extras: mirror-fpt-telecom.fpt.net<br>Setting up Install Process<br>Parsing package install arguments<br>No package openssl-dev available.<br><br>and :<br><br>[root@appliance tls]# ./sip-router_cert.sh -h<br>NAME<br>&nbsp; sip-router_cert.sh - Generate a self-signed TLS/SSL certificate for use with sip-router.<br><br>SYNOPSIS<br>&nbsp; sip-router_cert.sh [options]<br><br><br>i run command again : make install <br><br>make[1]: Entering directory `/usr/src/kamailio-3.0.2/modules/tls'<br>MAIN_NAME=kamailio ./sip-router_cert.sh -d /usr/local/etc/kamailio/<br>./sip-router_cert.sh: line 142: which: command not found<br>Could not find openssl command<br>Set OPENSSL environment variable properly (see -h for more info)<br>make[1]: *** [install-tls-cert] Error 1<br>make[1]: Leaving directory `/usr/src/kamailio-3.0.2/modules/tls'<br>make: *** [install-modules] Error 1<br><br>so, please suggest me to fix it.<br><br><br>thanks.<br>peter green<br><br><br><br><br><br>                                               </body>
</html>