SSL certificate problem, verify that the CA cert is OK Windows AWS

October 23, 2014

It’s a pretty common problem in Windows, curl used to include a list of accepted CAs, but no longer bundles ANY CA certs. So by default it’ll reject all SSL certificates as unverifiable. You need just to set cacert.pem to curl.cainfo. Since PHP 5.3.7 you could do: 1.download http://curl.haxx.se/ca/cacert.pem and save it somewhere. 2.update php.ini […]

AWS Use of undefined constant CURLE_COULDNT_RESOLVE_HOST

August 22, 2014

It appears that you are missing curl. If you are linux you can usually install it via the package manager package would be named something similar to php-curl. If windows, enable the curl extension in php.ini To check if curl installed in php, you may create a phpinfo.php file in your server root and run […]

How to change the SSH Key on a running EC2 instance?

November 22, 2011

How to change the SSH Key on a running EC2 instance? Background Information Is it possible to change the SSH Key on a running EC2 instance? If so, how? Answer For various security reasons it can be a good idea to change ssh keys. Amazon doesn’t actually let you change keys for a live instance. […]