Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Last active March 10, 2019 12:14
Show Gist options
  • Save ezhov-da/51a18f62c74546d8e7fe44da5f13b494 to your computer and use it in GitHub Desktop.
Save ezhov-da/51a18f62c74546d8e7fe44da5f13b494 to your computer and use it in GitHub Desktop.
wildfly по https
Версия Wildfly - 12.0
Для того, чтоб сделать доступ к серверу Wildfly по HTTPS, необходимо:
1. В конфигурации, в блоках:
<security-realm name="ManagementRealm">
и
<security-realm name="ApplicationRealm">
добавить:
<server-identities>
<ssl>
<keystore path="..." keystore-password="..."/>
</ssl>
</server-identities>
2. После данного добавления по HTTPS заработает ApplicationRealm, то есть приложения сервера.
3. Чтоб заработала консоль администратора по HTTPS, необходимо в блоке:
<management-interfaces>
<http-interface security-realm="ManagementRealm">
<http-upgrade enabled="true"/>
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
заменить
<socket-binding http="management-http"/>
на
<socket-binding https="management-https"/>
4. Перезапустить сервер.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment