Configure Apache to use the WildFly SSL port
Using the Bitnami WildFly Stack, it is possible to have Apache working as a proxy server for WildFly. If you have followed the steps to enable SSL directly in WildFly, you must also configure Apache to use the WildFly SSL port. To do this, follow the steps below:
Modify the Apache configuration file for WildFly at /opt/bitnami/apache/conf/vhosts/wildfly-https-vhost.conf, and ensure the
tag contains the configuration below.
SSLProxyEngine On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off <Location /> ProxyPass https://localhost:8443/ ProxyPassReverse https://localhost:8443/ </Location>
The example above disables the ProxyVerify and ProxyCheck options because a dummy keystore is in use. If you have certificates provided by a Certificate Authority (CA), those options may be ignored.
Restart the server to load the new configuration.
$ sudo /opt/bitnami/ctlscript.sh restart apache