SNOW-1729304: SQLSTATE[08001] [240012] curl_easy_perform() failed. err: Problem with the SSL CA cert (path? access rights?), CA Cert file: Not Specified #400
Labels
question
Issue is a usage/other question rather than a bug
status-triage_done
Initial triage done, will be further handled by the driver team
Good afternoon!
1.Php versions 8.3
pdo - the latest version that comes from the repository.
2. OS: Docker container Linux.
A \certificate error occurs during the test connection.
The Docker container on localhost is used. To disable OCSP, use the insecure_mode parameter.
Example of debugging code.
`try {
$dbh = new \PDO("snowflake:account=XXXXXXX;warehouse=XXXXX;database=XXXXX;schema=XXXX;insecure_mode=true;", 'XXXXX', 'XXXXXX');
} catch (PDOException $e) {
trace_log($e->getMessage());
die($e->getMessage());
}
$sql = "SELECT * FROM DLD_LAND_REGISTRY LIMIT 10";
$sth = $dbh->query($sql);
while ($row = $sth->fetch(\PDO::FETCH_NUM)) {
echo $row;
return;
}`
The parameter is marked with. But the error still occurs
SQLSTATE[08001] [240012] curl_easy_perform() failed. err: Problem with the SSL CA cert (path? access rights?), CA Cert file: Not Specified
What could be the error? Thank you!
The text was updated successfully, but these errors were encountered: