Page MenuHomePhabricator

Support mysql ssl if using LBFactoryMulti
Closed, InvalidPublic

Description

Hi, could support for mysql ssl be supported whilst using LBFactoryMulti please?

Event Timeline

Paladox renamed this task from Suport mysql sql if using LBFactoryMulti to Suport mysql ssl if using LBFactoryMulti.May 30 2018, 11:29 PM

Can't you just pass IDatabase::DBO_SSL as a flag?

DatabaseMysqli.php supports it

		if ( $this->flags & self::DBO_SSL ) {
			$connFlags |= MYSQLI_CLIENT_SSL;
			$mysqli->ssl_set(
				$this->sslKeyPath,
				$this->sslCertPath,
				$this->sslCAFile,
				$this->sslCAPath,
				$this->sslCiphers
			);
		}
CommunityTechBot renamed this task from 2xbaaaaaaa to Suport mysql ssl if using LBFactoryMulti.Jul 2 2018, 3:34 AM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
tstarling claimed this task.
tstarling subscribed.

I agree with Reedy, it's apparently already supported.

Sorry for not responding, thank you!

I've enabled it with

flags => DBO_SSL

Aklapper renamed this task from Suport mysql ssl if using LBFactoryMulti to Support mysql ssl if using LBFactoryMulti.Jul 15 2018, 4:04 PM
Aklapper changed the task status from Resolved to Invalid.
Aklapper removed tstarling as the assignee of this task.