Bug #71845 [Fbk->NoF]: Impossible to use PDO with ssl connections

From: Date: Sun, 08 Nov 2020 04:22:08 +0000
Subject: Bug #71845 [Fbk->NoF]: Impossible to use PDO with ssl connections
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230186@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71845&edit=1 ID: 71845 Updated by: php-bugs@lists.php.net Reported by: source dot spider at gmail dot com Summary: Impossible to use PDO with ssl connections -Status: Feedback +Status: No Feedback Type: Bug Package: PDO MySQL Operating System: centos 7 PHP Version: 7.0.4 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-10-29 19:57:37] willie dot owens91 at gmail dot com [edit] nvm, it seems to work ------------------------------------------------------------------------ [2020-10-29 19:48:42] willie dot owens91 at gmail dot com I am attempting to use PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT with a value of false, yet still face this issue. Using PHP 7.2.14. ------------------------------------------------------------------------ [2020-10-28 11:39:05] nikic@php.net There is a PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT attribute since PHP 7.0.18, added in https://github.com/php/php-src/commit/247ce052cd0fc7d0d8ea1a0e7ea2075e9601766a. That attribute does address this issue, right? ------------------------------------------------------------------------ [2020-02-10 13:50:10] nj dot andreasson at gmail dot com I was yet again hit with this issue in an AWS environment. I first commented on this issue almost 4 years ago in bug #71003 but it was sadly closed further down the line (not sure why?). As explained in bug 71003, I still see that the best solution would be to expose a "verify_peer_name" directive that you could populate with the expected peer name to verify. Thanks for considering it! ------------------------------------------------------------------------ [2020-01-27 12:50:19] cmb@php.net Related To: Bug #72878 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=71845 -- Edit this bug report at https://bugs.php.net/bug.php?id=71845&edit=1

« previous php.bugs (#230186) next »