Page 1 of 1

SOLVED. LXC

Posted: 11. Nov 2017, 11:48
by maximus
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?

Re: LXC

Posted: 12. Nov 2017, 10:35
by gapan
I don't really know, I'm guessing you have openssl installed, right?

Try running:

Code: Select all

update-ca-certificates --fresh
as root.

SOLVED Re: LXC

Posted: 12. Nov 2017, 15:13
by maximus
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.