Wildfly Access in HTTPS mode

Source: Internet
Author: User
Tags jboss wildfly

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.