Before you solve this one ... solve the other more important:
https://moodle.org/mod/forum/discuss.php?d=384539#p1549971
To solve this one ... depends upon where you got the cert ... the issuer. They should have directions on how to install/update/renew the cert files on your Linux system.
'spirit of sharing', Ken