SSL/TLS mariadb

Hello everyone,

Does shopware can work with a database which enforces SSL connections?
For example, if we have shopware on Amazon cloud and MariaDB on Google Cloud, important is to use an SSL connection.

I’m getting next error:

Hi Ognjen,

 

Shopware can’t connect to an database that enforces a SLL connection.

You need to modify the source code in order to get this going,
Connection creation: https://github.com/shopware/platform/blob/2b8c0e3d5bf4025f360ec59ed0f24b2dcf9c15ff/src/Core/Kernel.php#L161

https://www.doctrine-project.org/projects/doctrine-dbal/en/2.10/reference/configuration.html#mysqli
ssl parameters

Doctrine Doctrine

Configuration - Doctrine Database Abstraction Layer (DBAL)

Doctrine Database Abstraction Layer Documentation: Configuration

src/Core/Kernel.php:161

            _$parameters = [_

 

1 „Gefällt mir“

Thanks a lot, @Timmy_Clark‍ .

Shimmy from GitHub sent me a possible solution: SSL/TLS mariadb · Issue #1323 · shopware/platform · GitHub

I will write here when I check it :slight_smile: