Here\'s the code I\'m using
\'This is th
I was getting this error also. found out that I had set up the permission wrong on the folder that had the certificate file. This worked for me:
chmod 755 your_folder_that_has_certificate_files
Use the absolute path for the private key instead of relative path.
Make sure the php user (or webserver user, depending.. www-data
, apache
, nginx
, www
...) is allowed to read it (chown
, chmod
).