wildfly 26.0.1 HTTPS instructions or tutorial

2,651 views
Skip to first unread message

Fred Sasse

unread,
Mar 17, 2022, 10:18:11 AM3/17/22
to WildFly
I was able to get HTTPS working in wildfly 20.0 - using the keytool commands to generate the keystore, the CSR, and then importing the certificates into the keystore.  Finally then getting HTTPS to work on the server.

However, with the "newer" versions of wildfly (24 and later) it doesn't seem I can get HTTPS to work.  I've tried the links below with no success:

https://medium.com/@hasnat.saeed/setup-ssl-https-on-jboss-wildfly-application-server-fde6288a0f40

https://www.baeldung.com/convert-pem-to-jks#:~:text=JKS%20is%20a%20Java%2Dspecific,known%20as%20PKCS12%20or%20PFX.

The wildfly.org documentation on the subject doesn't answer most of my problems.

I'm looking for a "quick start guide" to at least get the management console up and running using HTTPS?

I'm assuming I still need to use a Java keystore in the newer versions of wildfly?  The posts about PKCS12 confuse the situation, for me but if those certificates work, I will try that method.

Many thanks.


Diana Krepinska

unread,
Mar 17, 2022, 2:13:02 PM3/17/22
to WildFly
Hello, those are instructions for legacy subsystem. You need to migrate to Elytron subsystem. Have you tried using interactive security command described in the docs https://docs.wildfly.org/26/WildFly_Elytron_Security.html#configure-ssltls

Diana Krepinska

unread,
Mar 17, 2022, 2:16:29 PM3/17/22
to WildFly
For management console look at the `enable-ssl-management command` mentioned in the above link as well.
Reply all
Reply to author
Forward
0 new messages