Forum

Results 1 to 10 of 10
  1. #1
    Join Date
    February 2018
    Posts
    2

    Client doesn't start (Failed to load ca certificates)

    Hello,

    my TS3 Client won't start on my Linux Mint installation.

    Distro: Linux Mint 18.3 Sylvia
    Kernel: 4.13.0-36-generic x86_64 (64 bit)
    Desktop: Cinnamon 3.6.7

    Code:
    »openssl« is already the newest Version (1.0.2g-1ubuntu4.10).
    »ca-certificates« is already the newest Version (20170717~16.04.1).
    After running the ts3client_runscript.sh i got the following error

    Code:
    [email protected] ~/TeamSpeak3-Client-linux_amd64 $ ./ts3client_runscript.sh
    QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
    I also get an Pop-Up saying:

    Failed to load ca certificates!
    Please install ca certificates on your system, or specify the location using the SSL_CERT_DIR or SSL_CERT_FILE environment variable.

    if also try to run it as sudo and also try to write the SSL Path manually in the runscript.sh file (/etc/ssl/certs and /usr/lib/ssl/certs) both not working.

  2. #2
    Join Date
    June 2008
    Posts
    17,708
    The only error i see here is the red one.
    The message from QCoreApplication is no error and client should still work.
    My client starts without any problems on fresh installed Mint 18.3 x64 (Mate or Cinnamon) and i alos get this message from QCoreApplication.

    What you could try is to run following even when yours seem to be latest already.
    Code:
    apt-get update
    apt-get install ca-certificates
    Last edited by dante696; February 26th, 2018 at 10:27 AM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    February 2018
    Posts
    2
    I've tried this already

    Code:
    work TeamSpeak3-Client-linux_amd64 # apt-get update && apt-get dist-upgrade && apt-get install --reinstall ca-certificates openssl
    Ign:1 http://mirror.netcologne.de/linuxmint/packages sylvia InRelease
    OK:2 http://ftp.stw-bonn.de/ubuntu xenial InRelease                                                                                                                    
    OK:3 http://mirror.netcologne.de/linuxmint/packages sylvia Release                                                                                                     
    OK:4 http://ftp.stw-bonn.de/ubuntu xenial-updates InRelease                                                                                                            
    OK:5 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                                                                       
    OK:6 http://repository.spotify.com stable InRelease                                                                                                            
    OK:7 http://ftp.stw-bonn.de/ubuntu xenial-backports InRelease                                                                                                  
    Ign:8 http://repo.vivaldi.com/stable/deb stable InRelease                                                                              
    OK:9 http://repo.vivaldi.com/stable/deb stable Release                                                         
    OK:10 http://archive.canonical.com/ubuntu xenial InRelease
    Paketlisten werden gelesen... Fertig
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.       
    Statusinformationen werden eingelesen.... Fertig
    Paketaktualisierung (Upgrade) wird berechnet... Fertig
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.       
    Statusinformationen werden eingelesen.... Fertig
    0 aktualisiert, 0 neu installiert, 2 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
    Es müssen noch 0 B von 659 kB an Archiven heruntergeladen werden.
    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
    Vorkonfiguration der Pakete ...
    (Lese Datenbank ... 602280 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../ca-certificates_20170717~16.04.1_all.deb ...
    Entpacken von ca-certificates (20170717~16.04.1) über (20170717~16.04.1) ...
    Vorbereitung zum Entpacken von .../openssl_1.0.2g-1ubuntu4.10_amd64.deb ...
    Entpacken von openssl (1.0.2g-1ubuntu4.10) über (1.0.2g-1ubuntu4.10) ...
    Trigger für man-db (2.7.5-1) werden verarbeitet ...
    openssl (1.0.2g-1ubuntu4.10) wird eingerichtet ...
    ca-certificates (20170717~16.04.1) wird eingerichtet ...
    Trigger für ca-certificates (20170717~16.04.1) werden verarbeitet ...
    Updating certificates in /etc/ssl/certs...
    0 added, 0 removed; done.
    Running hooks in /etc/ca-certificates/update.d...
    
    done.
    done.
    And even then i got the Error that the ca-certificates are missing. I was check /usr/lib/ssl exist and has linked Directorys to "certs" and "private" located at /etc/ssl/ the only file i won't find is the cert.pem on my system.

  4. #4
    Join Date
    March 2018
    Posts
    2
    Quote Originally Posted by sancron View Post
    I've tried this already

    And even then i got the Error that the ca-certificates are missing. I was check /usr/lib/ssl exist and has linked Directorys to "certs" and "private" located at /etc/ssl/ the only file i won't find is the cert.pem on my system.
    Same problem for me after updating to 3.1.8 on Ubuntu 16.04 Mate OpenSSL 1.0.2g
    Workaround: the file cert.pem would be /etc/ssl/certs/ca-certificates.crt on my system so just set the variable SSL_CERT_FILE to that file or change the script

    Code:
    if [ -f "/etc/ssl/certs/ca-certificates.crt" ]
      then
        #Use this file
        export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
    instead of the cert.pem part.

  5. #5
    Join Date
    May 2018
    Posts
    2

    ubuntu 18.04 run problem

    hi, is it an update for ts3 that haven't been released yet? bcuse I'm getting an error hvet i try to run the amd 64.run file. my system is updated but i get an error:
    Please install ca certficates on your system, or specify the loctaion using the SSL_CERT or SSL_CERT_FILE enviromment variable .
    I have updated and tried to install ca-certificates. but nothing works. any tips?
    Click image for larger version. 

Name:	Skjermbilde fra 2018-05-03 17-02-18.png 
Views:	216 
Size:	694.2 KB 
ID:	16646
    Click image for larger version. 

Name:	Skjermbilde fra 2018-05-03 17-09-09.png 
Views:	79 
Size:	24.5 KB 
ID:	16647

  6. #6
    Join Date
    September 2012
    Posts
    6,060
    Code:
    ./ts3client_runscript.sh
    to run the client.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  7. #7
    Join Date
    May 2018
    Posts
    2
    still showing me the same message.

  8. #8
    Join Date
    March 2016
    Location
    Germany
    Posts
    26
    try outcommenting the SSL stuff in ts3client_runscript.sh

    I've to out comment it like below after each update,
    otherwise the SSL lib isn't found
    same happens on three other systems here

    Code:
    #!/bin/bash
    
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    #If the bundled openssl is used, the app needs to find out where the CA certs
    #are located. This needs to be done with the help of openssl installed on the
    #system, before we include "." in the LD_LIBRARY_PATH.
    
    #First test if the bundled libssl is used
    #If bundeled libssl is used and SSL_CERT_FILE and SSL_CERT_DIR are not already set. 
    #if [ -f "./libssl.so.1.0.0" -a -x "$(command -v openssl)" -a -z "${SSL_CERT_FILE+x}" -a -z "${SSL_CERT_DIR+x}" ]
    #then
      #Set them to sane defaults.
    
      #Get ssl dir according to system openssl
     # OPENSSL_DIR=`openssl version -d | grep -Po '(?<=\").*(?=\")'`
    
      #Is cert.pem located there?
      #if [ -f "${OPENSSL_DIR}/cert.pem" ]
     # then
        #Use this file
      #  export SSL_CERT_FILE=${OPENSSL_DIR}/cert.pem
    
      #Is certs dir located there?
    #   elif [ -d "${OPENSSL_DIR}/certs" ]
    #   then
    #     #Use this dir
    #     export SSL_CERT_DIR=${OPENSSL_DIR}/certs
    #   else
    #     #An unknown configuration was found. Or openssl/ca certificates were not
    #     #installed
    #     echo "Could not find CA certificates location"
    #     exit 3
    #   fi
    # fi
    
    export KDEDIRS=
    export KDEDIR=
    export QTDIR=.
    export QT_PLUGIN_PATH=.
    export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
    
    if [ -e ts3client_linux_x86 ]; then
    	./ts3client_linux_x86 [email protected]
    else
    	./ts3client_linux_amd64 [email protected]
    fi

  9. #9
    Join Date
    March 2016
    Location
    Germany
    Posts
    26

    Solved

    use the following ts3client_runscript.sh
    teamspeaks own startscript is broken in multiple places..

    you'll have to out comment the SSL stuff after every update, but this way it works:

    Code:
    #!/bin/bash
    
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    #If the bundled openssl is used, the app needs to find out where the CA certs
    #are located. This needs to be done with the help of openssl installed on the
    #system, before we include "." in the LD_LIBRARY_PATH.
    
    #First test if the bundled libssl is used
    #If bundeled libssl is used and SSL_CERT_FILE and SSL_CERT_DIR are not already set. 
    #if [ -f "./libssl.so.1.0.0" -a -x "$(command -v openssl)" -a -z "${SSL_CERT_FILE+x}" -a -z "${SSL_CERT_DIR+x}" ]
    #then
      #Set them to sane defaults.
    
      #Get ssl dir according to system openssl
     # OPENSSL_DIR=`openssl version -d | grep -Po '(?<=").*(?=")'`
    
      #Is cert.pem located there?
      #if [ -f "${OPENSSL_DIR}/cert.pem" ]
     # then
        #Use this file
      #  export SSL_CERT_FILE=${OPENSSL_DIR}/cert.pem
    
      #Is certs dir located there?
    #   elif [ -d "${OPENSSL_DIR}/certs" ]
    #   then
    #     #Use this dir
    #     export SSL_CERT_DIR=${OPENSSL_DIR}/certs
    #   else
    #     #An unknown configuration was found. Or openssl/ca certificates were not
    #     #installed
    #     echo "Could not find CA certificates location"
    #     exit 3
    #   fi
    # fi
    
    export KDEDIRS=
    export KDEDIR=
    export QTDIR=.
    export QT_PLUGIN_PATH=.
    export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
    
    if [ -e ts3client_linux_x86 ]; then
    	./ts3client_linux_x86 [email protected]
    else
    	./ts3client_linux_amd64 [email protected]
    fi

  10. #10
    Join Date
    May 2013
    Posts
    2

    Failed to load ca certificates

    I'm running into a problem with TS3 Client (latest ts3 linux x86 version) on Debian.

    Code:
    $ ./ts3client_runscript.sh
    QCoreApplication::applicationPath: Please instantiate the QApplication object first
    Error Message:
    Click image for larger version. 

Name:	x6Fi7qm.png 
Views:	57 
Size:	41.1 KB 
ID:	16855

    I have set SSL_CERT_DIR environment variable to /etc/ssl/certs, to no avail.
    Also updating the ca-certificates package, as suggested in another thread, unfortunately does not help.

    Edit: Commenting out the lines works!
    Last edited by arnibold; July 9th, 2018 at 11:52 PM. Reason: merged

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: April 24th, 2017, 01:27 PM
  2. TS3 Client doesn't start
    By D3u577 in forum Windows
    Replies: 11
    Last Post: February 20th, 2010, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •