Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bria 3.1 and openssl (Unknown CA)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tangresh
n00b
n00b


Joined: 28 Sep 2012
Posts: 1

PostPosted: Fri Sep 28, 2012 10:57 am    Post subject: Bria 3.1 and openssl (Unknown CA) Reply with quote

Hi,

My company is switching to VoIP in a few weeks as the company is growing and our old telephone system is getting a little rusty.
The server software will be StarFace (http://www.starface.de/en/) and as client we use Bria 3.1 (http://www.counterpath.com/bria.html).

I managed to create an ebuild for Bria, install it and start it. So far no problems. (The ebuild was not really necessary, the software comes as a .deb file, no sources, so unpacking would have been enough)
One of the first things the software does is checking the license key, which fails on my system. Wireshark shows that the problem is at the TLS layer: the software can't verify the server certificate (tls error: Unknown CA).
Bria connects to https://secure.counterpath.com, so I tried to verify their certificate with openssl:
Code:
tangresh@kunjai ~ $ openssl s_client -connect secure.counterpath.com:443 -verify 3 -CApath /etc/ssl/certs/
...
Verify return code: 0 (ok)

Though I don't know how relevant that test is, since Bria uses the 32bit libraries on my system.

Mandatory information:
Code:
tangresh@kunjai ~ $ sudo emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.1
Timestamp of tree: Tue, 25 Sep 2012 20:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo java-overlay x11 vmware local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -mcx16 -msse4 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=core2 -mcx16 -msse4 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y -t --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amd64 amr animgif ao apache2 apng bash-completion berkdb bluetooth bzip2 cairo caps cdr cli consolekit cracklib crypt css cups curl cxx dbus device-mapper dri dvd dvdnav dvdr emacs embedded ffmpeg firefox firefox3 flac fontconfig foomaticdb fortran g3dvl gallium gcj gd gdbm git gnutls gpm graphviz gtk gudev hddtemp hpcups hpijs hwdb iconv icu imap iproute2 ipv6 java javascript jce jit jpeg jpeg2k kde laptop latex libcaca libnotify lightning lm_sensors log4j mad mmx mmxext modules mozilla mp3 mp4 mplayer mudflap multilib mysql mysqli ncurses nls nptl nsplugin ntfs odbc ogg opengl openmp optimization orc pam pcre pdf php pkcs11 png pppd pulseaudio qalculate qt3support qt4 readline realtime resolvconf samba scanner session sharedext sharedmem sip smbclient sockets sound speex sse sse2 sse3 ssl ssse3 subversion svg symlink syslog taglib tcpd threads tiff tk truetype unicode usb vhosts vorbis wav wavpack wicd wifi x264 xine xinerama xml xmlreader xmlwriter xscreensaver xv
xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="proxy proxy_http proxy proxy_http actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2
rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:

tangresh@kunjai ~ $ ldd /usr/bin/bria > ldd
/usr/bin/bria: /usr/lib32/liblber-2.4.so.2: no version information available (required by /usr/bin/bria)
/usr/bin/bria: /usr/lib32/libssl.so.0.9.8: no version information available (required by /usr/bin/bria)
/usr/bin/bria: /usr/lib32/libldap_r-2.4.so.2: no version information available (required by /usr/bin/bria)
/usr/bin/bria: /usr/lib32/libcrypto.so.0.9.8: no version information available (required by /usr/bin/bria)
   linux-gate.so.1 (0xf7712000)
   libgconf-2.so.4 => /usr/lib32/libgconf-2.so.4 (0xf76ab000)
   libldap_r-2.4.so.2 => /usr/lib32/libldap_r-2.4.so.2 (0xf7664000)
   libxslt.so.1 => /usr/lib32/libxslt.so.1 (0xf7630000)
   libidn.so.11 => /usr/lib32/libidn.so.11 (0xf75fe000)
   libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf74d5000)
   libssl.so.0.9.8 => /usr/lib32/libssl.so.0.9.8 (0xf748a000)
   libcrypto.so.0.9.8 => /usr/lib32/libcrypto.so.0.9.8 (0xf7363000)
   libasound.so.2 => /usr/lib32/libasound.so.2 (0xf72a4000)
   libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf725d000)
   libQtGui.so.4 => /usr/lib32/qt4/libQtGui.so.4 (0xf67ee000)
   libQtNetwork.so.4 => /usr/lib32/qt4/libQtNetwork.so.4 (0xf66c1000)
   libQtCore.so.4 => /usr/lib32/qt4/libQtCore.so.4 (0xf6435000)
   libpthread.so.0 => /lib32/libpthread.so.0 (0xf641b000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/32/libstdc++.so.6 (0xf6335000)
   libm.so.6 => /lib32/libm.so.6 (0xf630d000)
   libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/32/libgcc_s.so.1 (0xf62f2000)
   libc.so.6 => /lib32/libc.so.6 (0xf6169000)
   librt.so.1 => /lib32/librt.so.1 (0xf6160000)
   libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6056000)
   liblber-2.4.so.2 => /usr/lib32/liblber-2.4.so.2 (0xf6048000)
   libresolv.so.2 => /lib32/libresolv.so.2 (0xf6033000)
   libdl.so.2 => /lib32/libdl.so.2 (0xf602f000)
   libz.so.1 => /lib32/libz.so.1 (0xf601a000)
   libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf5f06000)
   libORBit-2.so.0 => /usr/lib32/libORBit-2.so.0 (0xf5eb2000)
   libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf5eae000)
   libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf5e68000)
   libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf5e63000)
   libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf5e12000)
   libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf5cd0000)
   libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf5c1c000)
   libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf5bf6000)
   libjson.so.0 => /usr/lib32/libjson.so.0 (0xf5bee000)
   libpulsecommon-1.1.so => /usr/lib32/libpulsecommon-1.1.so (0xf5b9a000)
   libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf5b97000)
   libX11.so.6 => /usr/lib32/libX11.so.6 (0xf5a79000)
   libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf5a5f000)
   libSM.so.6 => /usr/lib32/libSM.so.6 (0xf5a57000)
   libICE.so.6 => /usr/lib32/libICE.so.6 (0xf5a3f000)
   libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf5a39000)
   libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf59d1000)
   libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf5999000)
   libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf5822000)
   libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf57fa000)
   libogg.so.0 => /usr/lib32/libogg.so.0 (0xf57f3000)
   libgdbm.so.3 => /usr/lib32/libgdbm.so.3 (0xf57ec000)
   libpng15.so.15 => /usr/lib32/libpng15.so.15 (0xf57c1000)
   libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf5737000)
   libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf572d000)
   libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf5725000)
   libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf5721000)
   libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf56f1000)
   libXext.so.6 => /usr/lib32/libXext.so.6 (0xf56e1000)
   /lib/ld-linux.so.2 (0xf7713000)
   libffi.so.5 => /usr/lib32/libffi.so.5 (0xf56da000)
   libcom_err.so.2 => /lib32/libcom_err.so.2 (0xf56d6000)
   libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf56cd000)
   libkeyutils.so.1 => /lib32/libkeyutils.so.1 (0xf56c9000)
   libXau.so.6 => /usr/lib32/libXau.so.6 (0xf56c5000)
   libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf56bf000)
   libuuid.so.1 => /lib32/libuuid.so.1 (0xf56ba000)
   libXi.so.6 => /usr/lib32/libXi.so.6 (0xf56ab000)
   libbz2.so.1 => /lib32/libbz2.so.1 (0xf569a000)
   libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf5670000)


Thanks for any help
Tangresh
Back to top
View user's profile Send private message
halj
n00b
n00b


Joined: 16 Oct 2012
Posts: 2

PostPosted: Tue Oct 16, 2012 5:02 am    Post subject: Re: Bria 3.1 and openssl (Unknown CA) Reply with quote

I'm running into the same issue. Please let me know if you find a solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum