scotthovestadt / gigya

Gigya JavaScript REST SDK
MIT License
37 stars 62 forks source link

Outdated assets/cacert.pem #64

Open neshkovac opened 8 months ago

neshkovac commented 8 months ago

Recently ran into an error while using the SDK, which said that the certificate is not valid and caused requests made through the SDK not to go through - Error: code: 'SELF_SIGNED_CERT_IN_CHAIN'

This can be resolved in replacing the certificate (assets/cacert.pem) the package uses locally with an updated certificate from SAP themselves - https://github.com/SAP/gigya-python-sdk/blob/main/cacert.pem as an quick solution.

Hopefully someone can create a pull request, and publish an updated version of the package.

gillesdemey commented 5 months ago

I've gone ahead and published my own version of this library with the updated CA cert; @gillesdemey/gigya on NPM for anyone who needs it :)