final PEFileLayout layout = getFileLayout(config);
final File passwordAliases = layout.getPasswordAliasKeystore();
try {
PasswordAdapter p = new PasswordAdapter(passwordAliases.getAbsolutePath(),
password.toCharArray());
p.writeStore();
} catch (Exception ex) {
throw new RepositoryException(
_strMgr.getString("passwordAliasKeystoreNotCreated", passwordAliases), ex);
}
}