-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Etherpad settings.json connection to Secure Mysql Database with Keys #3072
Comments
I haven't worked with SSL on DB settings, but you might find more info examining the ueber db code: https://github.com/Pita/ueberDB/blob/master/mysql_db.js |
Thanks @lpagliari for the link, i have already referred to the above link, unfortunately i was not able to find anything related to the SSL connectivity |
Once your mysql installation is configured for SSL connections, you'll probably have to hunt/peck for the connection call in the etherpad code. Edit or hook from there. https://dev.mysql.com/doc/refman/5.5/en/using-secure-connections.html "To establish a secure connection, use the mysql_ssl_set() C API function to set the appropriate certificate options before calling mysql_real_connect(). See Section 23.8.7.67, “mysql_ssl_set()”. |
thanks @DanielBickley i don't think i can use hook to pass the connected ssl connection, as i am new to nodejs. Thanks in advance Regards, |
Sorry, I don't have time, but am currently attempting a plugin that better manages database connections, mainly in an effort to see if I can assign entire etherpad databases to individual etherpad users. It's slow going, but I'll try to add in SSL connectivity as an option, and update this post at completion. I'm not entirely certain how you'd go about editing your local installation of etherpad, but if you can just do a conditional check in there to see if the pad is loaded over https, then tack on the mysql_ssl_set() or something. Just thinking aloud here. |
This is really an ueberDB request not an Etherpad thing! |
Hi Guys,
I don't know if this is mentioned earlier (i quickly searched for the SSL configuration for DB settings but couldn't find), can some one point me to the settings on how to connect to a secure database with SSL cetrtificates.
Regards
The text was updated successfully, but these errors were encountered: