|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-11-23 20:35 UTC] nkiwga at gmail dot com
  [2017-11-28 19:41 UTC] ab@php.net
 
-Status: Open
+Status: Not a bug
  [2017-11-28 19:41 UTC] ab@php.net
  [2018-01-09 23:23 UTC] nkiwga at gmail dot com
  [2018-01-09 23:40 UTC] nkiwga at gmail dot com
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Sat Nov 01 01:00:01 2025 UTC | 
Description: ------------ Certificate verification is failing for me now, on Windows 10 version 1709. As I understand it PHP should automatically use the operating system's root certificates, and it used to do so, however now it is failing. I can mitigate the issue by specifying openssl.cafile in php.ini with a certificate bundle I found on the internet, but this never used to be necessary. Test script: --------------- file_get_contents('https://www.google.com/'); Actual result: -------------- PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in Command line code on line 1 Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in Command line code on line 1 PHP Warning: file_get_contents(): Failed to enable crypto in Command line code on line 1 Warning: file_get_contents(): Failed to enable crypto in Command line code on line 1 PHP Warning: file_get_contents(https://www.google.com/): failed to open stream: operation failed in Command line code on line 1 Warning: file_get_contents(https://www.google.com/): failed to open stream: operation failed in Command line code on line 1