<div dir="ltr">Forgot to add<br>cat /etc/issue<br>Debian GNU/Linux 8 \n \l<br><br><br>kamailio -V<br>version: kamailio 4.3.1 (x86_64/linux) <br>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: unknown <br>compiled with gcc 4.9.2<br><br>openssl version<br>OpenSSL 1.0.1k 8 Jan 2015<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-28 20:01 GMT+03:00 Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello!<br clear="all"><div><br></div><div>I'm having problems with Kamailio configuration with TLS. Or, maybe, that's my misunderstanding about how it should work.<br></div><div>So, the issue - inbound TLS works just great, I can call everyone in my domain. I have PositiveSSL certificate, so I have such files:<br>calist.crt  AddTrustExternalCARoot.crt + COMODORSAAddTrustCA.crt + COMODORSADomainValidationSecureServerCA.crt divided by \n<br>server.key  - key<br>server.crt - cert<br></div><div>The configuration of tls.cfg<br><br>[server:default]<br>method = SSLv23<br>verify_certificate = no<br>require_certificate = no<br>private_key = /etc/ssl/sectel.io.ssl/sip/server.key<br>certificate = /etc/ssl/sectel.io.ssl/sip/server.crt<br>ca_list = /etc/ssl/sectel.io.ssl/sip/calist.crt<br>#crl = /etc/kamailio/crl.pem<br></div><div>(however with or without ca_list nothing changes)<br><br></div><div>[client:default]<br>verify_certificate = yes<br>require_certificate = yes<br><br><br></div><div>And with that configuration when I'm trying to call to <a href="http://ostel.co" target="_blank">ostel.co</a> (public SIP service supporting TLS) from my server I get such error:<br>ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS write:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br><br><br>Putting that in tls.cfg:<br>[client:default]<br>verify_certificate = no<br>require_certificate = no<br><br></div><div>Make everything work.<br></div><div>Cross-domain calling is essential and I'm just trying to figure out - what's the problem? Is that my certificate, is that <a href="http://ostel.co" target="_blank">ostel.co</a> certificate or it is just the way it should be?<br><br></div><div>Thanks!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>