Bug #71845 [Opn->Fbk]: Impossible to use PDO with ssl connections
Edit report at https://bugs.php.net/bug.php?id=71845&edit=1
ID: 71845
Updated by: nikic@php.net
Reported by: source dot spider at gmail dot com
Summary: Impossible to use PDO with ssl connections
-Status: Open
+Status: Feedback
Type: Bug
Package: PDO MySQL
Operating System: centos 7
PHP Version: 7.0.4
Block user comment: N
Private report: N
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2016-05-18 02:05:16] requinix@php.net
Related To: Bug #71003
------------------------------------------------------------------------
[2016-05-18 02:04:09] requinix@php.net
See also request #71003 to expose the mysqli flag to PDO.
------------------------------------------------------------------------
[2016-05-18 02:02:50] requinix@php.net
Related To: Bug #72235
------------------------------------------------------------------------
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
Thread (7 messages)