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

Add MTLS support. #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Kmoneal
Copy link

@Kmoneal Kmoneal commented Jun 8, 2018

  • Add function load_cert_store_certs to take in a directory and
    return a vector of certificates from that directory.
  • Add function generate_cert_store to take in a vector of
    certificates and return a root certificate store.
  • Add parameter to TlsServer's constructor that is
    Option to allow either TLS or MTLS.
  • Add tests for loading the certificates and generating the
    certificate store.
  • Modify test that generates a new TlsServer to take in the new
    Option parameter.

* Add function load_cert_store_certs to take in a directory and
  return a vector of certificates from that directory.
* Add function generate_cert_store to take in a vector of
  certificates and return a root certificate store.
* Add parameter to TlsServer's constructor that is
  Option<RootCertStore> to allow either TLS or MTLS.
* Add tests for loading the certificates and generating the
  certificate store.
* Modify test that generates a new TlsServer to take in the new
  Option<RootCertStore> parameter.
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.

2 participants