Thursday, July 4, 2019

java - How to pass SSL keystore password?

I am writing a little web framework and I want to enable SSL encryption with a SSL key which will be supplied by the user.


This might seem overly cautious, but is it common to pass the password for the keystore file as a String passed in the parameters of a method?


This is what I had in mind:


public void enableSSL(String keystorePath, String keystorePassword) {
// ... do things
}

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...