Bug#778672: linphone: TLS , reading of Trusted CA file : '/etc/ssl/certs' failed because it is a directory
MarkusW
m.witt at gmx.at
Wed Feb 18 09:40:06 UTC 2015
Package: linphone
Version: 3.6.1-2.4+b1
Severity: normal
Tags: newcomer
Dear Maintainer,
using of TLS not working
in Linphone debug window:
error: eXosip: Couldn't read CA list
message: eXosip: Trusted CA folder : '/etc/ssl/certs'
Linphone want to read etc/ssl/certs as pem file
I tested it with
mv /etc/ssl/cert /etc/ssl/cert2
cp my.pem /etc/ssl/cert
and TLS works !
In source 'coreapi/linphonecore.c' this line has to changed to a defined pem
file
#ifdef __linux
sal_set_root_ca(lc->sal,
lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs"));
there is already a pem file in linephone /usr/share/linphone/rootca.pem
so a patch would look like
#ifdef __linux
sal_set_root_ca(lc->sal,
lp_config_get_string(lc->config,"sip","root_ca",
"/usr/share/linphone/rootca.pem"));
regards markus
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linphone depends on:
ii libasound2 1.0.28-1
ii libatk1.0-0 2.14.0-1
ii libavcodec56 6:11.2-1
ii libavutil54 6:11.2-1
ii libc6 2.19-13
ii libcairo2 1.14.0-2.1
ii libexosip2-11 4.1.0-2
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-2
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libgl1-mesa-glx [libgl1] 10.3.2-1
ii libglew1.10 1.10.0-3
ii libglib2.0-0 2.42.1-1
ii libglu1-mesa [libglu1] 9.0.0-2
ii libgtk2.0-0 2.24.25-1
ii liblinphone5 3.6.1-2.4+b1
ii libmediastreamer-base3 3.6.1-2.4+b1
ii libnotify4 0.7.6-2
ii libogg0 1.3.2-1
ii libopus0 1.1-2
ii libortp9 3.6.1-2.4+b1
ii libosip2-11 4.1.0-2
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libpangoft2-1.0-0 1.36.8-3
ii libpulse0 5.0-13
ii libsoup2.4-1 2.48.0-1
ii libspandsp2 0.0.6-2+b2
ii libspeex1 1.2~rc1.2-1
ii libspeexdsp1 1.2~rc1.2-1
ii libsqlite3-0 3.8.7.1-1
ii libswscale3 6:11.2-1
ii libtheora0 1.1.1+dfsg.1-6
ii libudev1 215-11
ii libupnp6 1:1.6.19+git20141001-1
ii libv4l-0 1.6.0-2
ii libvpx1 1.3.0-3
ii libx11-6 2:1.6.2-3
ii libxv1 2:1.0.10-1+b1
ii linphone-nogtk 3.6.1-2.4+b1
linphone recommends no packages.
Versions of packages linphone suggests:
ii yelp 3.14.1-1
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list