question: public void testBug20685022 ( ) throws Exception { if ( ! isCommunityEdition ( ) ) { return ; } final Properties props = new Properties ( ) ; props . clear ( ) ; props . setProperty ( "useSSL" , "true" ) ; props . setProperty ( "requireSSL" , "true" ) ; props . setProperty ( "verifyServerCertificate" , "false" ) ; getConnectionWithProps ( props ) ; props . clear ( ) ; props . setProperty ( "useSSL" , "true" ) ; props . setProperty ( "requireSSL" , "true" ) ; props . setProperty ( "verifyServerCertificate" , "true" ) ; props . setProperty ( "trustCertificateKeyStoreUrl" , "file:src/testsuite/ssl-test-certs/test-cert-store" ) ; props . setProperty ( "trustCertificateKeyStoreType" , "JKS" ) ; props . setProperty ( "trustCertificateKeyStorePassword" , "password" ) ; getConnectionWithProps ( props ) ; props . clear ( ) ; props . setProperty ( "useSSL" , "true" ) ; props . setProperty ( "requireSSL" , "true" ) ; props . setProperty ( "verifyServerCertificate" , "true" ) ; String trustStorePath = "src/testsuite/ssl-test-certs/test-cert-store" ; System . setProperty ( "javax.net.ssl.keyStore" , trustStorePath ) ; System . setProperty ( "javax.net.ssl.keyStorePassword" , "password" ) ; System . setProperty ( "javax.net.ssl.trustStore" , trustStorePath ) ; System . setProperty ( "javax.net.ssl.trustStorePassword" , "password" ) ; getConnectionWithProps ( props ) ; }
target:  Tests fix for BUG#20685022 - SSL CONNECTION TO MYSQL 5.7.6 COMMUNITY SERVER FAILS This test is duplicated in testuite.regression.ConnectionRegressionTest.testBug20685022().