Jump to content

Looking for Forum or Wikipedia software that can connect to SSL database server


Recommended Posts

I am wondering if anyone knows of a php application that supports SSL connection to a MySQL db.

 

My company has purchased an Azure hosted site. The VM is using CentOS 7.

Database requires the following functions to connect:

<?php

$db - mysqli_init();

$db->options(MYSQLI_OPT_SSL_VERIFY_SERVER_CERT, true);

$db->ssl_set(NULL, NULL, <CA Certificate file>, NULL, NULL);

$db->real_connect(<HOST>, <USER>, <PASS>, <DB Name>);

 

Checking if anyone here would know of any applications that supports this type of database connection. Had little luck finding info on a Google Search.

I've looked into MediaWiki, PHPbb3, and Vanilla Forums. None seems to support providing a CA Certificate File for database connection in the configuration.

Your question doesn't make sense. It sounds like you're starting with a database that's configured for SSL connections, and now you're trying to find applications to make use of that?

I am migrating a debian server that contains both apache and mysql from the same server that doesn't use SSL for the database. I'll see about how to mimic a wikipedia page from scratch if none are known to offer a SSL connection setup.

On 10/29/2022 at 10:04 PM, GnomePants said:

I've looked into MediaWiki, PHPbb3, and Vanilla Forums. None seems to support providing a CA Certificate File for database connection in the configuration.

The nice thing about Open Source Software is you could modify it to support your requirements.  There are answers out there for how to make it work with MediaWiki.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.