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

Support for Spark.secure(InputStream keystore, String password, InputStream truststore, ...); #782

Open
sjschmid opened this issue Feb 22, 2017 · 1 comment

Comments

@sjschmid
Copy link

This would be a useful feature, as it would allow starting up a secure Spark server based on a server certificate (keystore) that is distributed within a jar resource file.

Note: It is recommended to read files from resources distributed as part of a jar file using the following command: InputStream input = getClass().getResourceAsStream("...");
Consequently, it would be nice if the input stream of a keystore or truststore could be passed directly to the Spark.secure(); call.

@TimoGlastra
Copy link

Is this feature being implemented? Cause i've been searching on the internet for a really long time. But have not found a way to access the keystore file from within a jar file. Would this feature make it easier or is it not possible at all without this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants