Wildfly with HTTPS access needs to add some configuration in the configuration file
The Certificate of our website is requested by Symantec, the certificate and private key need to be compressed into JKs file, the compressed address is
Https://www.ssltools.org/certificate-convert.htm
The PEM is empty with the following password set to the same key pair alias as the domain name
The path to wildfly after the good file is generated is/usr/local/wildfly/standalone/configuration
Add the following in the configuration file
<!--SSL Cert--
<security-realm name= "Undertowrealm" >
<server-identities>
<ssl>
<keystore path= "Yobaojie.com.jks" relative-to= "Jboss.server.config.dir" keystore-password= "Yobaojie"/>
</ssl>
</server-identities>
</security-realm>
<server name= "Default-server" >
<location name= "/" handler= "Welcome-content"/>
<filter-ref name= "Server-header"/>
<filter-ref name= "X-powered-by-header"/>
</server>
Because the default port for access to HTTPS is 8443, it is changed to 8443 when it is accessed.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/34/wKioL1WU2E_wC2MqAABPQEPOZW4631.jpg "title=" Picture 1.png "alt=" wkiol1wu2e_wc2mqaabpqepozw4631.jpg "/>
Then you'll be able to access the site.
Resources:
Https://docs.jboss.org/author/display/WFLY8/Detailed+Configuration
Wildfly Access in HTTPS mode