Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th June 2012, 15:38
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Default Secure mysql connections in multi-host configurations

Hi,

I while ago I opened a feature request to get mysql SSL support for the remote servers cronjob connecting to the master DB

http://bugtracker.ispconfig.org/inde...s&task_id=1691

Eventually it was closed as 'implemented'.

How should I enable this? or is it still necessary to hack to code to add the 'MYSQL_CLIENT_SSL' flag to the mysql connect functions like mentioned in an older post.

http://www.howtoforge.com/forums/showthread.php?t=50303

Thanks for any feedback.

J.
Reply With Quote
Sponsored Links
  #2  
Old 14th June 2012, 16:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
Default

To enable this ssl, set:

$conf['db_client_flags'] = 0;

to:

$conf['db_client_flags'] = MYSQL_CLIENT_SSL;

in the server config.inc.php file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th June 2012, 21:35
Justin Albstmeijer Justin Albstmeijer is offline
Member
 
Join Date: Dec 2007
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
 
Default

Thanks Till,

Tried earlier:

$conf['dbmaster_client_flags'] = MYSQL_CLIENT_SSL;

which looked more obvious, but that did not do the trick.

$conf['db_client_flags'] = MYSQL_CLIENT_SSL;

indeed triggers a secure connection to the master database and seems to work with the local database too even when it does not support SSL.


Quote:
Originally Posted by till View Post
To enable this ssl, set:

$conf['db_client_flags'] = 0;

to:

$conf['db_client_flags'] = MYSQL_CLIENT_SSL;

in the server config.inc.php file.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
MySQL problem satimis Server Operation 5 25th June 2008 15:41
postfix problems with smtp linkdeb Server Operation 9 24th October 2006 17:12
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 14:22
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 20:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.