SOLVED. LXC

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

SOLVED. LXC

Post by maximus » 11. Nov 2017, 11:48

Hi,

I'm playing with LXC, and am having a problem with LXC-slackware containers.

I have errors related to loading ca-certificates; e.g. if using wget to download via https I have to use the "--no-check-certificate" option. Using Mercurial also gives a certificate-related error. These programs work just fine on the host (Salix64 14.2, core install) so I'm fairly certain I'm missing some package/library on the slackware container. I have installed the ca-certificate package on the container.

Does anyone have any idea what I might be missing?
Last edited by maximus on 12. Nov 2017, 15:16, edited 1 time in total.

User avatar
gapan
Salix Wizard
Posts: 5359
Joined: 6. Jun 2009, 17:40

Re: LXC

Post by gapan » 12. Nov 2017, 10:35

I don't really know, I'm guessing you have openssl installed, right?

Try running:

Code: Select all

update-ca-certificates --fresh
as root.
Image
Image

User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

SOLVED Re: LXC

Post by maximus » 12. Nov 2017, 15:13

Thanks for the pointer! OK, well I eventually found the problem. It appears I needed to have perl installed. After running update-ca-certificates --verbose, then c_rehash everything appears to be working. I'm going to confirm this in another container.

Post Reply