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

Default to secure connection with option to use insecure flag #27

Merged
merged 1 commit into from Aug 24, 2018

Conversation

tab1293
Copy link
Contributor

@tab1293 tab1293 commented Aug 23, 2018

If you want to use your systems default root certificate without specifying the filename with cert you can use grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, "")). This pull request defaults to use this option with the ability to specify a non TLS connection with -insecure flag.

@bojand bojand merged commit 5b9e967 into bojand:master Aug 24, 2018
@bojand
Copy link
Owner

bojand commented Aug 24, 2018

Hello, thanks for the PR! I agree this is an improvement. Released the new version as 0.12.0. Hope this works for 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

Successfully merging this pull request may close these issues.

None yet

2 participants