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

Using SSL to encrypt connections to MYSQL #439

Merged
merged 3 commits into from
Aug 5, 2015

Conversation

vivienschilis
Copy link
Contributor

Allow to specify a certificate params "sslca" to encrypt the connections.
Taken from sql-driver documentation: https://github.com/go-sql-driver/mysql#tls

Don't hesitate to comment on the naming "sslca", I followed ActiveRecord's naming.

Cheers,
Vivien

@vivienschilis vivienschilis changed the title Using SSL to encrypt a connection to MYSQL Using SSL to encrypt connections to MYSQL Jul 20, 2015
@vivienschilis
Copy link
Contributor Author

I think the right label would be storage/mysql

After looking at other hashicorp project I think the param should be called tls_ca_file. Do you agree?

@armon
Copy link
Member

armon commented Jul 29, 2015

@vivienschilis Yes that would be a better name

)

var (
tlsKey = "custom"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a commend to what this is? Also it is better as a const with a prefix like mysqlTLSKey since otherwise it could collide in the physical package

@vivienschilis vivienschilis force-pushed the feature-tls-mysql branch 3 times, most recently from 9f086a6 to 35db9be Compare July 30, 2015 09:39
@vivienschilis
Copy link
Contributor Author

@armon Let me know if you wish more tweaks on that PR.
Thanks

@armon
Copy link
Member

armon commented Aug 4, 2015

@vivienschilis Can you add documentation for the tls_ca_file option to the configuration page? Thanks!

@vivienschilis vivienschilis force-pushed the feature-tls-mysql branch 2 times, most recently from df12140 to de2218d Compare August 5, 2015 08:20
@vivienschilis
Copy link
Contributor Author

@armon 👍

armon added a commit that referenced this pull request Aug 5, 2015
Using SSL to encrypt connections to MYSQL
@armon armon merged commit 5058582 into hashicorp:master Aug 5, 2015
@armon
Copy link
Member

armon commented Aug 5, 2015

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants