Look for the CAcerts directory in the directory where leftronic.php is located, rather than the CWD.