Skip to content
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

SSL connections with client certs #27

Open
luna-duclos opened this issue Mar 21, 2016 · 4 comments
Open

SSL connections with client certs #27

luna-duclos opened this issue Mar 21, 2016 · 4 comments

Comments

@luna-duclos
Copy link

Currently, I haven't found a way to connect to a MySQL server that requires client cert-based authentication. Is there a way to do this ? If not, I'd be happy to contribute a PR after discussing how we want this to be done.

@rubenv
Copy link
Owner

rubenv commented Mar 21, 2016

I haven't used cert-based auth myself, so I can't really tell what should be added, but I don't think it'll be hard to add.

Will happily accept a PR, it's probably a small change anyway.

@luna-duclos
Copy link
Author

For MySQL, cert-based auth requires calling mysql.RegisterTLSConfig, I was thinking of adding an option to the yml file: mysql-cert-file, and having sql-migrate open and register it if specified, would that work for you?

@rubenv
Copy link
Owner

rubenv commented Mar 21, 2016

Sounds good!

@adamrt
Copy link

adamrt commented Feb 13, 2017

@luna-duclos I've run into the same issue with goose migrations and we are looking to switch. Have you made any progress on this or did you find another solution?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants