Legacy Knowledge Base
Published Jul. 2, 2025

Exporting OpenSSO Configuration Settings for Use in Another DXP Environment

Written By

Brian Suh

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

If you are migrating your OpenSSO configuration from one environment to another, you don't need to migrate the settings manually.

Resolution

  1. Login to your Liferay DXP environment.
  2. Navigate to Control Panel > Configuration > System Settings
  3. Search for OpenSSO and open the OpenSSO entry.
  4. Modify or just save the OpenSSO entry as required, also enable this feature by ticking the Enable checkbox.
  5. Save the changes.
  6. Click the properties and click Export (right pane) next to OpenSSO only.
  7. This will export the SSO configuration as a file:

    com.liferay.portal.security.sso.opensso.configuration.OpenSSOConfiguration.config

  8. Modify this as required for your final configuration and copy this file to:

    $LIFERAY_HOME/osgi/configs/com.liferay.portal.security.sso.opensso.configuration.OpenSSOConfiguration-default.config

  9. Verify that your changes have loaded in OSGi as required.

This will allow you to manage the OpenSSO configuration via your environment automation tools.

Did this article resolve your issue ?

Legacy Knowledge Base