-
Notifications
You must be signed in to change notification settings - Fork 20
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 support for trustStore and trustStorePassword #34
base: master
Are you sure you want to change the base?
Conversation
@@ -26,43 +26,42 @@ | |||
|
|||
import org.apache.http.conn.ssl.SSLSocketFactory; | |||
|
|||
import com.google.common.base.Throwables; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file Copyright VMware, Inc
, as it says at the top of the file?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started from a VMware class, but I've completely re-written that. Removing the copyright
51a97c4
to
160c1e3
Compare
|
||
// Performing Certificate Validation | ||
if (Strings.isNonBlank(trustStorePassword)) { | ||
LOG.debug("Registering HTTPS scheme using trustStore ='{}' with trustStorePassword = '{}'", trustStore, trustStorePassword); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aled, is it fine to log this password?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't log the password; just log ********
instead of {}
.
a302827
to
49fe773
Compare
978d4df
to
a7320d1
Compare
@aledsage can you take a look at it?