Skip to content

Magento 2 and SSL connection to MySQL #13561

Closed
@cscarnell98

Description

@cscarnell98

Preconditions

  1. Magento 2.2.2
  2. MySQL 5.7.x

Steps to reproduce

  1. In env.php there should be a way to specify optional secure connection details which can then be used:
$this->resource->ssl_set($clientKey, $clientCert, $caCert, $caPath, $cipher);

To establish a secure connection to mysql.

Expected result

  1. Secure connection

Actual result

  1. I don't believe this is supported?

Example of what I mean:
https://stackoverflow.com/questions/9738712/connect-to-remote-mysql-server-with-ssl-from-php
http://blog.machek.co.uk/2016/06/php-with-mysql-and-ssl.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasefeature requestnon-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions