For whatever reason Ubuntu doesn’t include a valid certificate chain for sites using RapidSSL certificates. If your server has read data from a site that uses RapidSSL then you have good chance that you will receive errors stating that the certificate is invalid. To solve this problem you need to perform the following steps: