@@ -91,7 +91,7 @@ class SslIntegrationTests extends TestSupport {
9191 .withVerifyPeer (false ) //
9292 .build ();
9393
94- private static final RedisURI URI_CLIENT_CERT_AUTH = sslURIBuilder (2 ) //
94+ private static final RedisURI URI_CLIENT_CERT_AUTH = sslURIBuilder (1 ) //
9595 .withVerifyPeer (true ) //
9696 .build ();
9797
@@ -203,7 +203,7 @@ void standaloneWithJdkSslUsingTruststoreUrl() throws Exception {
203203
204204 SslOptions sslOptions = SslOptions .builder () //
205205 .jdkSslProvider () //
206- .truststore (truststoreURL (truststoreFile1 )) //
206+ .truststore (truststoreURL (truststoreFile1 ), "changeit" ) //
207207 .build ();
208208 setOptions (sslOptions );
209209
@@ -216,7 +216,7 @@ void standaloneWithClientCertificates() {
216216 SslOptions sslOptions = SslOptions .builder () //
217217 .jdkSslProvider () //
218218 .keystore (new File (KEYSTORE ), "changeit" .toCharArray ()) //
219- .truststore (truststoreFile1 , "changeit" ) //
219+ .truststore (truststoreFile0 , "changeit" ) //
220220 .build ();
221221 setOptions (sslOptions );
222222
@@ -228,7 +228,7 @@ void standaloneWithClientCertificatesWithoutKeystore() {
228228
229229 SslOptions sslOptions = SslOptions .builder () //
230230 .jdkSslProvider () //
231- .truststore (truststoreFile0 , "changeit" ) //
231+ .truststore (truststoreFile1 , "changeit" ) //
232232 .build ();
233233 setOptions (sslOptions );
234234
@@ -330,7 +330,7 @@ void masterSlaveWithJdkSslUsingTruststoreUrl() throws Exception {
330330
331331 SslOptions sslOptions = SslOptions .builder () //
332332 .jdkSslProvider () //
333- .truststore (truststoreURL (truststoreFile2 )) //
333+ .truststore (truststoreURL (truststoreFile2 ), "changeit" ) //
334334 .build ();
335335 setOptions (sslOptions );
336336
0 commit comments