[Bug 381351] defaults for keymanager and trustmanager come from their factories and not hardcoded
This commit is contained in:
parent
a086451bc7
commit
1f35b72d54
|
@ -97,10 +97,11 @@ public class SslContextFactory extends AbstractLifeCycle
|
|||
|
||||
public static final String DEFAULT_KEYMANAGERFACTORY_ALGORITHM =
|
||||
(Security.getProperty("ssl.KeyManagerFactory.algorithm") == null ?
|
||||
"SunX509" : Security.getProperty("ssl.KeyManagerFactory.algorithm"));
|
||||
KeyManagerFactory.getDefaultAlgorithm() : Security.getProperty("ssl.KeyManagerFactory.algorithm"));
|
||||
|
||||
public static final String DEFAULT_TRUSTMANAGERFACTORY_ALGORITHM =
|
||||
(Security.getProperty("ssl.TrustManagerFactory.algorithm") == null ?
|
||||
"SunX509" : Security.getProperty("ssl.TrustManagerFactory.algorithm"));
|
||||
TrustManagerFactory.getDefaultAlgorithm() : Security.getProperty("ssl.TrustManagerFactory.algorithm"));
|
||||
|
||||
/** Default value for the keystore location path. */
|
||||
public static final String DEFAULT_KEYSTORE_PATH =
|
||||
|
|
Loading…
Reference in New Issue