Fixed curl ssl invalid cert file

Added curl errno 77 for loading cert file