I followed the instructions https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html.
Everything works fine.
But if i switch in the server.xml to
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
protocol="org.apache.coyote.http11.Http11NioProtocol"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2"
sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>
Confluence is not longer reachable.
if i switch back to
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
Everything works fine.
I wouldn't recommend doing it that way. There are two big reasons why. First is security. If you want to listen to TCP port 443, you will need to run the Confluence Java process as root/administrator. This means that if there is a vulnerability in Confluence or Java, it is possible for an attacker to take over your server relatively easily. Second is that this is doing things the hard way. When you need to make changes, such as when a cert expires, you need to restart Confluence.
I would instead recommend using a reverse proxy server such as Apache. This can run on the same server. It is very simple to manage certificates this way and reverse proxy servers can do privilege separation built-in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.