diff --git a/src/test/java/org/mariadb/jdbc/integration/SslTest.java b/src/test/java/org/mariadb/jdbc/integration/SslTest.java index 4ad394e6b..b059ca48a 100644 --- a/src/test/java/org/mariadb/jdbc/integration/SslTest.java +++ b/src/test/java/org/mariadb/jdbc/integration/SslTest.java @@ -278,20 +278,6 @@ public void certificateMandatorySsl() throws Throwable { assertNotNull(getSslVersion(con)); } - if (System.getenv("TEST_DB_CLIENT_CERT_FULL") != null) { - // client certificate is using extendedKeyUsage = critical, clientAuth, but java don't throw - // an exception - // as RFC 5280 would require - try (Connection con = - createCon( - baseOptions - + "&sslMode=VERIFY_FULL&serverSslCert=" - + System.getenv("TEST_DB_CLIENT_CERT_FULL"), - sslPort)) { - con.isValid(1000); - } - } - Configuration conf = Configuration.parse(mDefUrl); HostAddress hostAddress = conf.addresses().get(0); try {