On Fri, 2021-02-12 at 08:14 -0800, Irene Vagionakis wrote:
> Following the documentation, I have changed the used port from 9999
> to 8443, and I have configured the readdressing in Apache but it
> still points to port 80 instead of 443. I suspect that the files that
> need to be changed are sw/jetty/etc/jetty-https.xml and
> sw/jetty/etc/jetty-ssl.xml
I'm not familiar with Jetty in production environments, so I can only
be of limited help. When you say that it still points to port 80, what
is "it"? And if you are proxying requests to Jetty via Apache HTTPD,
then you don't need HTTPS for the connection between HTTPD and Jetty,
just from the client to HTTPD. So I believe you'll want to configure
HTTPD for HTTPS (there is sufficient documentation for this[1]), and
use the ProxyPass directive to proxy requests and responses to and from
Jetty via HTTP.
[1]
https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html
Jamie