Legacy Knowledge Base
Published Jul. 2, 2025

AWS S3 Signature Version 2 Discontinued

Written By

Shimada Taro

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.

Issue

  • AWS S3 signature version 2 is scheduled to be discontinued, will this affect Liferay DXP?

Environment

  • Liferay Portal 6.2, Liferay DXP 7.0, Liferay DXP 7.1

Resolution

  • If you are using LiferayDXP, you basically do not need to support Liferay since it supports signature version 4.

Liferay uses the AWS SDK to connect to AWS S3.
According to the official AWS website, the recommended version is 1.11.x.
The version of the SDK used by Liferay varies depending on the FixPack, and applying FixPack 41 or higher is the recommended version by AWS.

On the engineering side, testing was conducted using FixPack41 and older versions of FixPack for buckets in regions that support onlysignature version 4.
In both cases, we have confirmed that communication is possible without any particular problems.

If you are currently connected to a bucket where both signature versions 2 and 4 are available, you may have a mix of signature versions used in your communication.
This is because each AWS region has a different preferred signature version and does not depend on settings on the Liferay side.(AWS SDK always selects the best signature version)

We do not anticipate any problems if signature version 2 is discontinued, but we recommend upgrading to FixPack 41 or higher if possible.
If some requirement makes it difficult to upgrade FixPack, it is possible to fix the signature version used to 4.

You can adjust the Java startup options by checking thisAWS official page.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base