Last active
March 10, 2019 12:14
-
-
Save ezhov-da/51a18f62c74546d8e7fe44da5f13b494 to your computer and use it in GitHub Desktop.
wildfly по https
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Версия 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