Author Topic: Disable verification certificate for mysql connect  (Read 289 times)

Offline flo1

  • Newbie
  • *
  • Posts: 1
Disable verification certificate for mysql connect
« on: October 31, 2018, 09:07:45 AM »
Hi

Can you add option for disable verification of the server SSL certificate ?
PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT (from php 7.1)

https://secure.php.net/manual/en/ref.pdo-mysql.php

For example
Code: [Select]
        if (!empty($dsn['ssl_verify'])) {
            $result[PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT] = $dsn['ssl_verify'];
        }


Thanks!
« Last Edit: October 31, 2018, 09:12:36 AM by flo1 »