public void testCrlInvalidPath() throws Exception {
HttpClientOptions clientOptions = new HttpClientOptions();
clientOptions.setTrustStoreOptions(getClientTrustOptions(TS.PEM_CA));
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());