ONEWEB 4.0 support SSL by setting up SSL/HTTPS on your server:

  1. Generate key

In general you have two options to generate key:

    • Using the Java Secure Socket Extension(JSSE)
    • The native implementation based on OpenSSL

In both cases you have to configure keys and (self-signed) certificates for your web server.

  1. Configure Wildfly

In case generate key from Step 1 output file from previous step is "oneweb.keystore" then copy key file to "[$JBOSS_HOME]/standalone/configuration/". Now edit file standalone.xml

Under profile option, expand undertow subsystem, there are two main parts which are Server and Servlet container configuration. Add https-listener under server

Under socket binding group Change Default WilfFly https port 8443 to 443.