Skip to content

Commit

Permalink
[misc] correct test certificates change
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed May 13, 2022
1 parent 0cef81d commit 1faa2dc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/test/java/org/mariadb/jdbc/integration/SslTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1faa2dc

Please sign in to comment.