LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2018, 09:19 AM   #1
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,685

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Certificate issues in LXC


I am using a jabber client (mcabber) inside LXC. When I start the client
it fails to connect with error message:

Code:
Certificate is not trusted!
Disconnected, reason: 3->'LM_DISCONNECT_REASON_ERROR'
This is not an issue when I run the client with the same configuration outside the container. I already tried installing the 'ca-certificates' package but the error remained.

Which additional packages am I missing?
 
Old 09-04-2018, 03:49 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,947

Rep: Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644
Do you have your install inside of your container fully updated with all patches? I vaguely remember another post on here where someone was having problems with that only to find they didn't have all the patches installed.
 
Old 09-04-2018, 04:22 PM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,685

Original Poster
Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
If by patches you mean that all installed packages are up-to-date, then yes. If by all patches you mean a full install, then no. I can get it to work on a fully installed LXC. I like to keep my containers as small as possible, though.
 
Old 09-04-2018, 04:51 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,947

Rep: Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644
Ok, I wasn't aware you were running a partial installation on the container. It is difficult to diagnose with that limited error message.

Have you tried running an ldd on mcabber to see if anything's missing?
 
Old 09-04-2018, 05:22 PM   #5
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 978

Rep: Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507
I never used mcabber myself, but this (rather old) bug report might help:
https://bitbucket.org/McKael/mcabber...te-not-trusted

If you already installed the ca-certificates package and openssl(needed), set your time/date right and try updating them with:
Code:
/usr/sbin/update-ca-certificates
P.S.
If you need to add a certificate, follow this tutorial (part before the browser section) written by AlienBob:
https://alien.slackbook.org/blog/add...our-slackware/

Last edited by abga; 09-04-2018 at 05:44 PM. Reason: P.S.
 
1 members found this post helpful.
Old 09-05-2018, 02:02 AM   #6
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 548

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by bassmadrigal View Post
Ok, I wasn't aware you were running a partial installation on the container. It is difficult to diagnose with that limited error message.
Yes - no one could guess what the OP might be missing without knowing what is already installed.

However if using the default slackware template (as distributed in the 14.2 lxc package), then the following additional packages will be needed to run mcabber:
Code:
loudmouth gpgme libassuan libgpg-error gnutls libffi p11-kit nettle
chris
 
Old 09-05-2018, 08:21 AM   #7
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,685

Original Poster
Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Installing openssl, as suggested by abga, solved the problem.
Quote:
Originally Posted by bassmadrigal View Post
Have you tried running an ldd on mcabber to see if anything's missing?
Yes, I always run ldd on the binary before I create the container. The library dependencies are never a problem. Only when additional configuration are files needed, that is when it gets tricky. Anyway, I successfully managed to finally shrink the container. Thanks everyone for your input.

Last edited by crts; 09-05-2018 at 08:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail and Server certificate verification error: unable to get local issuer certificate Mr486 Linux - Software 2 08-12-2018 08:20 AM
Superfish malware and certificate issues? s.verma General 3 03-09-2015 05:44 PM
[SOLVED] In need of some help: Server Certificate issues on ancient platform. lordtyp0 Linux - Security 1 07-19-2013 02:58 PM
SSL Certificate Issues - Intermediary Issue? dalgibbard Linux - Enterprise 0 11-16-2011 08:48 AM
Openlap + TLS not working due to certificate issues pazzport Linux - Server 3 03-30-2009 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration