Skip to content

More flexible SSL configuration API #1881

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

Closed
biran0079 opened this issue May 27, 2016 · 4 comments
Closed

More flexible SSL configuration API #1881

biran0079 opened this issue May 27, 2016 · 4 comments
Milestone

Comments

@biran0079
Copy link

Today ServerBuilder.useTransportSecurity takes two files as parameter. However, sometimes only InputStreams for the key and cert files are available. Can we add an API to take two input streams?

@ejona86
Copy link
Member

ejona86 commented May 31, 2016

We didn't originally because I think tcnative required a File (or we thought it required a File) and we didn't want to save the private key InputStream to a temporary file without the user's knowledge. This may be possible now.

@ejona86 ejona86 added this to the 1.1 milestone Jun 9, 2016
@ejona86 ejona86 modified the milestones: Next, 1.1 Aug 30, 2016
@zpencer
Copy link
Contributor

zpencer commented Sep 19, 2017

@zpencer zpencer self-assigned this Sep 19, 2017
@zpencer zpencer modified the milestones: Next, 1.7 Sep 19, 2017
zpencer added a commit to zpencer/grpc-java that referenced this issue Sep 21, 2017
Also update unit tests to stop writing certs to temp files.

Fixes grpc#1881
@bidossessi
Copy link

@zpencer Could I ask why your PR was closed? Is something in the works on this issue?

@ejona86
Copy link
Member

ejona86 commented Aug 9, 2021

I think with #4316 this was completed. I will note though that we also have the newer Credentials API that also allows using InputStreams but also configuring many more TLS parameters.

@ejona86 ejona86 closed this as completed Aug 9, 2021
@ejona86 ejona86 modified the milestones: Next, 1.12 Aug 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants