PHP common pitfall -> SSL certificate verify failed exception
PHP uses curl to execute web requests and out of box it comes with no root CAs, so any call with sslverify argument set to true (which is on by default) will fail with exception "error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed".
The problem is that way tooo many plugin developers and end-users solve it by curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0) which basically means bye bye SSL and welcome man in the middle attack.
Proper solution is to download Root CAs archive (.pem) from http://curl.haxx.se/docs/caextract.html, drop it into PHP installation folder and then edit php.ini by adding curl.cainfo=c:\php_install_location\cacert.pem line.
cURL – Extract CA Certs from Mozilla
pingback of Google+ post on January 31, 2013 at 10:43AM
Access multiple Google Calendars from Mobile Device
Hard to say why this link is so buried down in Google's help and internet advices, but here it: https://www.google.com/calendar/iphoneselect
You have to open it from device you are syncing to. Additionally there are links to Google Sync settings via this link: m.google.com/sync/settings . Though it didn't work for me.
pingback of Google+ post on January 29, 2013 at 10:16PM
Dell laptops – Removing "Your battery is able to charge normally. However it is reaching the end of its usable life." and other Dell Feature Enhancement Pack configurations
Here is an instruction from Dell community support forum which helped:
Dell included administrative templates with the Feature Enhancement Pack which deals with all these massages. To utilize them do the following:
1. Copy all *.admx files in C:\Program Files\Dell\Feature Enhancement Pack\policydefinitions to C:\Windows\PolicyDefinitions;
2. Copy all *.adml files in C:\Program Files\Dell\Feature Enhancement Pack\policydefinitions\en_US to C:\Windows\PolicyDefinitions\en-US;
3. Run Group Policy Editor – Click Start button and in the Search box type gpedit.msc and click the result;
4. Browse to Computer Configuration -> Administrative Templates -> System -> Dell -> Feature Enhancement Pack -> System Events and double click Battery in the right pane;
5. Select Enable radio button and check-mark Battery health degraded for this particular massage;
6. You can get rid of any other massages there as well;
7. Click OK;
pingback of Google+ post on January 06, 2013 at 02:42PM