If the file is hosted on a SSL (HTTPS) enabled host get the certificate and store it under files, along with the injected file