So, I am back to square one and I have a vanilla standalone.xml file, with a minor change for multiple domains:
<subsystem xmlns="urn:jboss:domain:undertow:11.0" default-server="default-server" default-virtual-host="default-host" default-servlet-container="default" default-security-domain="other" statistics-enabled="${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
</server>
< servlet-container name="default">
<jsp-config/>
<websockets/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
</subsystem>
I manually get a Zero SSL cert/key, and generated a keystore using this command:
> sudo openssl pkcs12 -export -out wildfly-pkcs12.pfx -in cert.crt -inkey server-private.key -certfile ca.crt
What do I do next? Seriously, there is vague and little to no instruction and I've tried everything from changing the 'ApplicationRealm' keystore path; to creating a new 'SslReam' with the keystore path-- but this just makes my normal http not work as well as https never work.
Why is this so complicated for a simple SSL?