<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>&gt; Date: Thu, 9 Sep 2010 11:13:19 +0200<br>&gt; From: klaus.mailinglists@pernau.at<br>&gt; To: betergreen@live.com<br>&gt; CC: sr-users@lists.sip-router.org<br>&gt; Subject: Re: [SR-Users] help with tls error :sslv3 alert bad certificate<br>&gt; <br>&gt; <br>&gt; <br>&gt; Am 09.09.2010 10:17, schrieb peter_green lion:<br>&gt; &gt; hi all,<br>&gt; &gt; i have configure tls support as this link:<br>&gt; &gt; http://www.kamailio.org/docs/tls-devel.html#id2451496<br>&gt; &gt; and i add certificate to 3CX sip phone is "cacert.pem" but when i<br>&gt; &gt; register sip phone, the log file in kamailio server is :<br>&gt; &gt;<br>&gt; &gt; Sep 9 15:13:36 appliance /usr/local/sbin/kamailio[2146]: ERROR: tls<br>&gt; &gt; [tls_server.c:392]: SSL error:error:14094412:SSL<br>&gt; &gt; routines:SSL3_READ_BYTES:sslv3 alert bad certificate<br>&gt; <br>&gt; I think the means that the SIP phone sends the ALERT because the it does <br>&gt; not accept the certificate of the server. So you have to debug why the <br>&gt; SIP phone does not accept the certificate.<br>&gt; <br>&gt; You really should test with another SIP client first.<br>&gt; <br>&gt; regards<br>&gt; Klaus<br>&gt; <br>&gt; &gt;<br>&gt; &gt; my configure in kamailio.cfg as :<br>&gt; &gt;<br>&gt; &gt; modparam("tls", "tls_method", "TLSv1")<br>&gt; &gt; modparam("tls", "tls_method", "SSLv23")<br>&gt; &gt; modparam("tls", "certificate",<br>&gt; &gt; "/usr/local/etc/kamailio//tls/user/user-cert.pem")<br>&gt; &gt; modparam("tls", "private_key",<br>&gt; &gt; "/usr/local/etc/kamailio//tls/user/user-privkey.pem")<br>&gt; &gt; modparam("tls", "ca_list",<br>&gt; &gt; "/usr/local/etc/kamailio//tls/user/user-calist.pem")<br>&gt; &gt; modparam("tls", "verify_certificate",0 )<br>&gt; &gt; modparam("tls", "require_certificate",0 )<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; please suggest to fix this error.<br>&gt; &gt; thanks and regards.<br>&gt; &gt; Peter Green.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt; &gt; sr-users@lists.sip-router.org<br>&gt; &gt; http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br><br><br>hi Klaus,<br>i add certificate to internet explorer, but it fail:<br>when i view this certificate i see that error:<br><br>"this certificate has expired or is not yet valid"<br><br>is mean this certificate is wrong ?<br><br>so how do i make it correct ?<br><br>thanks and regards,<br>Peter Green.<br><br>                                               </body>
</html>