PTFM-6103: Now including the certificates file as part of the package and using it in curl requests; also fixed typo in error reporting