Next you need to configure confluence to use HTTPS:
Editor <install-directory>/conf/server.xml 文件。
Uncomment the following line:
<
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>"/>
|
Replace < The MY_CERTIFICATE_PASSWORD>
password that you used in the certificate.
Determine that the Attribute-value match SSLEnabled="true"
is part of the connection element, as shown above. If this feature is not displayed, attempting to access confluence may encounter a timeout error.
Save the server configuration file.
Do not remove comments from the HTTP connector, the synchrony agent is never checked for health, and this check is accessed via HTTP. If you do not want to include http
connectors. You can use synchrony.proxy.healthcheck.disabled
System properties to disable health checks.
You should not disable the internal synchrony proxy (by setting the synchrony.proxy.enabled
System Properties false
), which we know will cause problems when Tomcat determines SSL.
The default connector port for confluence is 8090.
Https://www.cwiki.us/display/CONF6ZH/Running+Confluence+Over+SSL+or+HTTPS
Confluence 6 run over SSL or HTTPS-Modify your Server.xml file