try (InputStream in = new FileInputStream(PathAdjuster.adjust((VertxInternal) vertx, fileName))) {
ks.load(in, keyStorePassword.toCharArray());
}
this.security = new KeyStoreSecurity(ks, keyPasswords.toMap());
} catch (KeyStoreException | IOException | CertificateException | NoSuchAlgorithmException e) {
throw new RuntimeException(e);
}
return this;