legacy-knowledge-base
公開されました Jun. 30, 2025

Liferay LXC-SMへのデプロイ時に「SSL秘密鍵は解析できません」というエラーが発生する。

written-by

Jamilly Macedo

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

問題

  • Liferay LXC-SMにデプロイしようとすると、以下のエラーメッセージでビルドが失敗します:
Some error has happened during the build. Try again. [{"message":"Bad Request","status":400,"errors":[{"reason":"privateKeyCannotBeParsed","context":{"message":"The SSL private key cannot be parsed"}}]}].

Environment

  • Liferay LXC-SM

解決策

  • このエラーは、WebサーバーのLCP.jsonファイルの「certs/key」フィールドに無効なデータまたは不正確なデータが含まれていることを意味します。
  • これらのフィールドが適切にフォーマットされていることを確認し、再度デプロイします。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base