Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dveeden/mysslgen
Easy SSL setup for MySQL
https://github.com/dveeden/mysslgen
Last synced: about 1 month ago
JSON representation
Easy SSL setup for MySQL
- Host: GitHub
- URL: https://github.com/dveeden/mysslgen
- Owner: dveeden
- License: gpl-2.0
- Created: 2014-01-02T19:20:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T08:11:43.000Z (about 7 years ago)
- Last Synced: 2023-03-23T22:11:48.784Z (over 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 7
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Description
===========This is a tool to help and configure MySQL for use with SSL
It will create a certificate authoritity in `/etc/mysql/ssl` and
generate a keypair for the server and a keypair for the client.It will generate the server and client options which must be
added to your configuation.Usage
=====
usage: mysslgen.py [-h] [--config CONFFILE] [--ssldir SSLDIR]Manage SSL Certificates for MySQL
optional arguments:
-h, --help show this help message and exit
--config CONFFILE
--ssldir SSLDIRYou'll need to do a `chown -R mysql:mysql /etc/mysql/ssl` to
make sure MySQL is able to read the key files.Requirements
============
- Python 3 (or Python >= 2.7)
- pyOpenSSL
- Ubuntu: `python3-openssl`
- Fedora: `python3-pyOpenSSL`Python version
==============It is made for Python 3.3, but it should be able to run on Python 2.7.
You'll need to prepend python2.7 to the command (`python2.7 ./mysslgen.py`)The ConfigParser module in Python 2.6 does not recognize the "allow_no_value"
option, so Python 2.6 will not work for now.RHEL6
=====
Enable RedHat Software Collections, there you can find Python 2.7 and Python 3.3CentOS6
=======
Install the IUS repo: http://www.iuscommunity.org/pages/IUSClientUsageGuide.html
Then:yum install python33 python33-distribute gcc openssl-devel
easy_install-3.3 pyOpenSSLLicense
=======
This project is licensed under GPLv2