curl: (60) Peer’s Certificate issuer is not recognized.

Finally fixed it. Post the answer here as reference. Export company trusted root certificate with .cer extension. Somthing naming external root certificate Convert the ca file to .pem file using openssl x509 -in xxx.cer -inform der -outform pem -out xxx.pem Then on the centos 7 os: Install the ca-certificates package: yum install ca-certificates Enable the dynamic … Read more

curl: no URL specified for restful api

I have been asked to call a restful api via Unix environment. Is there a bug in my command so i got blow issue? I have tried looking at the curl –help but the thing that I could find that might help would be the way to pass in param key-pair. Could it be possible … Read more

cURL request in Laravel

Give the query-option from Guzzle a try: I use this option to build my get-requests with guzzle. In combination with json_decode($json_values, true) you can transform json to a php-array.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)