use existing keystore
This commit is contained in:
parent
c8f4332c34
commit
8c3edce565
|
@ -56,8 +56,8 @@ public class HostnameVerificationTest
|
||||||
if (sslContextFactory != null)
|
if (sslContextFactory != null)
|
||||||
{
|
{
|
||||||
// keystore contains a hostname which doesn't match localhost
|
// keystore contains a hostname which doesn't match localhost
|
||||||
sslContextFactory.setKeyStorePath("src/test/resources/keystore");
|
sslContextFactory.setKeyStorePath("src/test/resources/keystore.jks");
|
||||||
sslContextFactory.setKeyStorePassword("abcdef");
|
sslContextFactory.setKeyStorePassword("storepwd");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (server == null)
|
if (server == null)
|
||||||
|
|
Loading…
Reference in New Issue