Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- Deployment is not getting triggered due to the following error in the console:
Some error has happened during the build. Try again. [{"message":"Bad Request","status":400,"errors":[{"reason":"certificateCannotBeParsed","context":{"message":"The SSL certificate cannot be parsed"}}]}]
Environment
- Liferay PaaS
- Liferay DXP 7.4
Resolution
-
When creating custom certificates, note that Liferay Cloud only accepts keys and certificates that are in the proper PEM format with Base64 encoding, which must include encapsulation boundaries.
- After providing the key and certificates with proper Base64 encoding, the deployment will be triggered.