AbstractLifeCycle:main: FAILED ServerConnector {SSL-http/1.1}{0.0.0.0:443}

Problem

After configuring Datameer version > 5.2 with Jetty 9 to use SSL, the Jetty service isn't starting anymore.

Error message

From <datameer-install-path>/logs/<date>.stderrout.log.<timestamp>

... 
WARN:oejuc.AbstractLifeCycle:main: FAILED ServerConnector {SSL-http/1.1}{0.0.0.0:443}: java.net.SocketException: Keine Berechtigung
...
WARN:oejuc.AbstractLifeCycle:main: FAILED org.eclipse.jetty.server.Server@6ea920ad: java.net.SocketException: Keine Berechtigung
...
java.lang.reflect.InvocationTargetException
...
[main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED ServerConnector {SSL-http/1.1}{0.0.0.0:443}: java.net.SocketException: Permission denied
...

Troubleshooting

Check standard error out logs under <datameer-install-path>/logs/<date>.stderrout.log.<timestamp>.

Cause

According to w3.org doc ports below 1024 are privileged on Linux. Only root can bind to such ports. Otherwise Jetty will fail to start. You should either use ports >1024 or run under root account (not recommended). If you must use ports <1024, you probably should consider other configurations.

Solution

How to configure SSL on Jetty 9 (> Datameer 5.2)