← Back to team overview

epoptes team mailing list archive

Re: [Question #206372]: Epoptes fails after update....certificate issue

 

Question #206372 on Epoptes changed:
https://answers.launchpad.net/epoptes/+question/206372

    Status: Open => Answered

Alkis Georgopoulos proposed the following answer:
> ls -lha /etc/epoptes
> -rw-r--r-- 1 root root 0 Aug 20 20:56 server.crt

That part is wrong, you have an empty certificate there.

It's possible that at some time, you tried to run `epoptes-client -c`
from the server root (/) instead of the chroot (/opt/ltsp/i386). So the
server was trying to both send and receive the same file, and that
resulted in it being overwritten with size=0.

Try manually updating the certificate on the server, as specified on the wiki (http://www.epoptes.org/installation#TOC-Manually-updating-the-OpenSSL-certificate):
$ sudo openssl req -batch -x509 -nodes -newkey rsa:1024 -days 1826 -keyout /etc/epoptes/server.key -out /etc/epoptes/server.crt

Then transfer the certificate to your chroot:
$ sudo chroot /opt/ltsp/i386 epoptes-client -c

Verify that both .crt files do not have zero size anymore:
$ ls -lha /etc/epoptes /opt/ltsp/i386/etc/epoptes

Update your image:
$ sudo ltsp-update-image

Then reboot your clients and see if everything is OK again.

-- 
You received this question notification because you are a member of
Epoptes Developers, which is an answer contact for Epoptes.