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

TLS for Raft Join #6932

Merged
merged 2 commits into from Jun 21, 2019
Merged

TLS for Raft Join #6932

merged 2 commits into from Jun 21, 2019

Conversation

vishalnayak
Copy link
Member

No description provided.

http/sys_raft.go Outdated Show resolved Hide resolved
http/sys_raft.go Outdated Show resolved Hide resolved
@vishalnayak vishalnayak force-pushed the raft-cli branch 2 times, most recently from e51c8bf to 5d4c931 Compare June 20, 2019 20:33
@vishalnayak vishalnayak changed the base branch from raft-cli to master June 21, 2019 08:27
@vishalnayak vishalnayak force-pushed the raft-join-tls branch 2 times, most recently from 765a2f3 to 2557ea2 Compare June 21, 2019 08:32
jefferai
jefferai previously approved these changes Jun 21, 2019
@vishalnayak vishalnayak changed the title [WIP] TLS for Raft Join TLS for Raft Join Jun 21, 2019
switch {
case req.LeaderCACert != "" && req.LeaderClientCert != "" && req.LeaderClientKey != "":
// Create TLS Config
pool := x509.NewCertPool()
Copy link
Member

Choose a reason for hiding this comment

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

I approved this but if you can move this section to sdk/helper/tlsutil we can reuse it elsewhere pretty quickly...

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll do this in a separate PR.

@vishalnayak vishalnayak merged commit c356df6 into master Jun 21, 2019
@vishalnayak vishalnayak deleted the raft-join-tls branch June 21, 2019 21:41
catsby added a commit that referenced this pull request Jun 24, 2019
* master: (47 commits)
  Add the ability to use a dev Consul node for dev storage (#6965)
  Update CHANGELOG.md
  Correct API docs examples (#6963)
  Fix test
  changelog++
  Allow turning on client auth in test clusters (#6958)
  Update vendoring
  Update SDK version
  Make CA certificate optional in ClientTLSConfig
  Update vendor
  Combined Database backend: remove create/delete support (#6951)
  Bump sdk
  Move tls config creation to tlsutil (#6956)
  Update JWT tips (#6955)
  raft join tls (#6932)
  changelog++
  UI - add kmip engine (#6936)
  Pass context to Cassandra queries (#6954)
  Minor clean up JWT provider docs (#6952)
  update azure instructions (#6858)
  ...
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

3 participants