Legacy Knowledge Base
Published Sep. 10, 2025

Seperate SSL for virtual instances

Written By

Dániel Pintér

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • We have multiple SSL certificates and want to use them in virtual instances that run under a different domain from the main instance.

Environment

  • DXP 2024.Q3

Resolution

  • If behind a reverse proxy, configure the server.xml in [Liferay_home]/tomcat-[version]/conf/server.xml a simillar way:
<Connector SSLEnabled="true" defaultSSLHostConfigName="domain1" port="443" protocol="org.apache.coyote.http11.Http11NioProtocol">
  <SSLHostConfig hostName="domain1">
<Certificate certificateFile="certificate1.crt" certificateKeyFile="${catalina.base}/conf/.key" certificateKeyPassword="passsword" type="RSA"/>
  </SSLHostConfig>
  <SSLHostConfig hostName="domain2">
<Certificate certificateFile="certificate2.crt" certificateKeyFile="${catalina.base}/conf/.key" certificateKeyPassword="password" type="RSA"/>
  </SSLHostConfig>
</Connector>
Did this article resolve your issue ?

Legacy Knowledge Base