clientOptions.setSsl(true);
clientOptions.addCrlPath("/invalid.pem");
HttpClient client = vertx.createHttpClient(clientOptions);
HttpClientRequest req = client.request(HttpMethod.CONNECT, DEFAULT_HTTP_PORT, DEFAULT_HTTP_HOST, "/", (handler) -> {});
try {
req.end();
fail("Was expecting a failure");
} catch (VertxException e) {
assertNotNull(e.getCause());
assertEquals("java.nio.file.NoSuchFileException: /invalid.pem", e.getCause().getMessage());
}