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

TlsListenerConfig with buffer, or Read trait #6

Open
ratmice opened this issue Nov 10, 2020 · 0 comments
Open

TlsListenerConfig with buffer, or Read trait #6

ratmice opened this issue Nov 10, 2020 · 0 comments

Comments

@ratmice
Copy link

ratmice commented Nov 10, 2020

afaict the TlsListenerConfig currently requires sending it PathBuf's, which eventually opens/reads the keys and certs, it would be nice if there were a way to pass it an &[u8] or more likely something implementing the Read trait, so you can use keys and certs that aren't stored on the filesystem.

                TlsListener::build()
                    .addrs("localhost:4433")
                    .cert(cert_path)
                    .key(key_path),
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

1 participant