Using certificate files with pdo for securely connecting to Database

Created on 28 August 2023, about 1 year ago

Problem/Motivation

When $database['pdo'] is used in setting.php and a file path is needed for an encrypted connection to the database as in Azure Databases there is no code to allow the certificate file in the url string so you get an error.

Steps to reproduce

Run phpunit on a server that connects to Azure database with a secured connection using a .pem file.

Proposed resolution

Working on a patch for drupal 8.9.20 to add query parameter for defining a certificate path file to end of the SIMPLETEST_DB url string.

Remaining tasks

Build patch test and deploy.

User interface changes

API changes

Data model changes

🌱 Plan
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States trigve hagen Washington DC

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024