Skip to content

feat(driverOptions): Allow to use global default_certificates_bundle_path as driverOptions#56873

Closed
szaimen wants to merge 1 commit into
masterfrom
enh/noid/allow-use-global-cert-dbdriveroptions
Closed

feat(driverOptions): Allow to use global default_certificates_bundle_path as driverOptions#56873
szaimen wants to merge 1 commit into
masterfrom
enh/noid/allow-use-global-cert-dbdriveroptions

Conversation

@szaimen

@szaimen szaimen commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

…path as driverOptions

Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen szaimen added this to the Nextcloud 33 milestone Dec 5, 2025
@szaimen szaimen added enhancement 2. developing Work in progress technical debt 🧱 🤔🚀 labels Dec 5, 2025
//additional driver options, eg. for mysql ssl
$driverOptions = $this->config->getValue($configPrefix . 'dbdriveroptions', $this->config->getValue('dbdriveroptions', null));
if ($driverOptions) {
$rootCertPath = $driverOptions[PDO::MYSQL_ATTR_SSL_CA] ?? $this->config->getValue('default_certificates_bundle_path', null) ?? '';

@provokateurin provokateurin Dec 5, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use \OCP\ICertificateManager::getAbsoluteBundlePath instead.

@blizzz blizzz modified the milestones: Nextcloud 33, Nextcloud 34 Feb 16, 2026
@szaimen szaimen closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants