Using ports below 1024 for Openfire as a non-root user

Hi there,

I need to use port 443 (as opposed 5222) for clients to connect to Openfire. I am running Openfire on a CentOS 6.5 server, so ports below 1024 require Openfire to be run as a root user, which is a security concern.

I have tried using the “setcap cap_net_bind_service=+ep /path/to/program” command as suggested online, but I can’t get port 443 to show up in the list of Server Ports in the console dashboard. If I run Openfire as root, port 443 shows up no problem.

Does anyone have any idea on how to get Openfire to listen on port 443 as a non-root user?

Thanks in advance.