Enable management console http and https access

425 views
Skip to first unread message

Charith Paranaliyanage

unread,
Jul 28, 2023, 11:10:29 AM7/28/23
to WildFly
Hello,

I was able to enable https access for admin console by enabling following setting. I am using Wildfly 26.1.3.Final version.

https1.png
https.png

But, all http traffic will be redirected to https now. I want both http and https enable side by side. How can I achieve this?

Diana Krepinska

unread,
Jul 31, 2023, 12:39:44 PM7/31/23
to WildFly
Hello, the configuration you screenshotted does not cause automatic redirect from HTTP to HTTPS. Check the undertow subsystem settings ( https://www.mastertheboss.com/web/jboss-web-server/how-to-redirect-http-to-https-in-wildfly/ ) and your environment settings

Charith Paranaliyanage

unread,
Jul 31, 2023, 3:56:12 PM7/31/23
to WildFly
Thanks for the reply Diana. I haven't changed any undertow subsystem settings. Please note I am starting the wildfly server using  standalone-full.xml.
I am attaching standalone-full.xml here with.

standalone-full.xml

Bartosz Baranowski

unread,
Aug 1, 2023, 5:35:39 AM8/1/23
to WildFly
How do you access your server and how did you come to conclusion redirect is in effect?

Charith Paranaliyanage

unread,
Aug 1, 2023, 5:51:55 PM8/1/23
to WildFly
When I access admin console http://localhost:9990/console/index.html it always redirects to https://localhost:9993/console/index.html
Reply all
Reply to author
Forward
0 new messages