-
1. Re: Redirecting Wildfly Server to https.
jagadish1221 Aug 26, 2015 3:08 AM (in response to jagadish1221)PFB the steps Which I followed for redirecting the server to HTTPS:
- Command to generate KeyStore: keytool -genkeypair -alias localhost -keyalg RSA -keysize 2048 -validity 7360 -keystore server.keystore -keypass secret -storepass secret -dname "cn=Server Administrator,o=Acme,c=GB"
- Changes made in the standalone.xml:
Inside management tag: I added the below thing
<security-realm name="UndertowRealm">
<server-identities>
<ssl protocol="TLS">
<keystore path="server.keystore" relative-to="jboss.server.config.dir" keystore-password="secret" alias="localhost"/>
</ssl>
</server-identities>
</security-realm>
Inside the given tag <subsystem xmlns: "urn:jboss:domain:undertow:1.1">: I added the below thing
<https-listener name="default-https" socket-binding="https" security-realm="UndertowRealm" verify-client="REQUESTED"/>
But still I am not able to redirect to https.
- Command to generate KeyStore: keytool -genkeypair -alias localhost -keyalg RSA -keysize 2048 -validity 7360 -keystore server.keystore -keypass secret -storepass secret -dname "cn=Server Administrator,o=Acme,c=GB"
-
2. Re: Redirecting Wildfly Server to https.
mayerw01 Aug 27, 2015 6:54 AM (in response to jagadish1221)What messages do you get when accessing the AS via the HTTPS port?
How is the authentication/
authorization in this Realm? Don't you need some truststore?