SSL certificate problem: certificate in plexmediaserver plugin

zorro68

Cadet
Joined
Mar 6, 2021
Messages
5
Hi, I'm new in truenas and I have a problem.

I installed the plex plugin and when I went to update it I got an SSL certificate error.
Since I didn't know what to do and couldn't find any information, I removed it and when I go to reinstall it I still get the same error, and now I can't install it. The error is this:

GitCommandError Message: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-plugin-plexmediaserver.git /mnt/HDD1/iocage/jails/PlexTrueNas/plugin stderr: 'Cloning into '/mnt/HDD1/iocage/jails/PlexTrueNas/plugin'... fatal: unable to access 'https://github.com/freenas/iocage-plugin-plexmediaserver.git/': SSL certificate problem: certificate has expired ' Partial plugin destroyed

Can someone help me because I don't know if I have to create a new SSL certificate (how?) or what I have to do.

Thanks in advance
 

zorro68

Cadet
Joined
Mar 6, 2021
Messages
5
I have solved the problem. The problem was that the server (truenas), and I don't know why, has change the date of the system and the certificate says date from year 2039 to 2042. I have made this in the shell of Truenas to correct the problem:

# service ntpd stop
# ntpdate 0.freebsd.pool.ntp.org
# service ntpd start

and correct the date of the server.

Thanks
 
Top