We are trying to set up confluence over SSL by using this two tutorials:
https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html
https://github.com/richstokes/lets-encrypt-confluence
We can't connect over SSL. At the moment we didn't change the Base-URL.
Is this step necessary or should the connection work for both HTTP and HTTPS?
Is it possible to change the Base-Url via console, if there are problems after changing it to https?
Hi,
You can alway change base url from confluence console to https or http depending the connection access you have. The BASE url step is necessary otherwise the plugin system will not work properly but you can still access confluence and browse admin area and do the most of the work.
-Shankar
OK, thanks for your answer. I change it in the server.xml in this section?
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"> --> change to false?
<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname=""/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/>
</Context>
<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0"
reloadable="false" useHttpOnly="true"> --> change to false?
</Host>
</Engine>
If you want to change the base url, it can only done through confluence UI - not through any files.
But if you want to make confluence accessible on HTTPS, you will need to change the following section in server.xml (uncomment these);
<Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" SSLEnabled="true" URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>" keystoreFile="<MY_CERTIFICATE_LOCATION>"/>
keystorePass and keystoreFile - these values to changed to the actual password and file you use. I am hoping that you have already imported SSL certs in to keystore.
yes we imported keystore files and edited the server.xml, in that way you described. But it's not possible to access the site via https.
It looks like you're new here. Sign in or register to get started.