legacy-knowledge-base
公開されました 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

learn-legacy-article-disclaimer-text

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