|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-05-16 06:57 UTC] ma at temponizer dot dk
-Summary: unlink ignores verify_peer
+Summary: unlink ignores stream context
[2017-05-16 06:57 UTC] ma at temponizer dot dk
[2017-05-16 07:09 UTC] requinix@php.net
-Status: Open
+Status: Verified
-Package: Filesystem function related
+Package: FTP related
[2017-05-16 07:09 UTC] requinix@php.net
[2017-05-28 04:24 UTC] pollita@php.net
[2017-05-28 04:24 UTC] pollita@php.net
-Status: Verified
+Status: Closed
[2017-05-28 04:26 UTC] pollita@php.net
-Assigned To:
+Assigned To: pollita
[2017-05-28 04:26 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ When using unlink for a FTPS filename with a stream context where verify_peer is set to false, it still tries to verify the certificate. This results in two warnings - "SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" - "Unable to connect to ftps://servername/path" Test script: --------------- $sslContext = stream_context_create(['ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false ]]); unlink('ftps://servername/path', $sslContext);