Skip to content
Advertisement

cURL SSL request fails

I’m trying to work with Liveperson REST API, I use the following php code:

JavaScript

The request fails, I already tried the following

  • enabeling openssl on php.ini
  • exporting the certificate from liveperson server and using it in my code
  • followed the instruction here

any help will be appreciated!

Advertisement

Answer

Try removing getcwd() from line 9 in your code. You are using fullpath “C:/dev/wamp/exported.crt”, that is relative to your current working directory, this is wrong. 🙂

Hope this solves it

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement