Legacy Knowledge Base
Published Jul. 2, 2025

The SSL certificate does not cover domain

Written By

Sivakumar Perumal

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

Issue

  • The SSL certificate deployment is failing with the below error
    Jun 22 13:21:04.374 build-479 [testdomain-uat] Deployment in progress [webserver] as liferaycloud/nginx:1.16.1-4.0.1

    Jun 22 13:21:12.200 build-479 webserver[building] Deployment interrupted: {"message":"Bad Request","status":400,"errors":[{"reason":"certificateDoesNotCoverDomain","context":{"message":"The SSL certificate does not cover domain www.testdomain-uat.cloud.net","domain":"www.testdomain-uat.cloud.net"}}],"deploymentUid":"ogyekasdacaafidebvyrdzujl"}

    Jun 23 11:02:58.555 build-481 [testdomain-uat] Deployment in progress [webserver] as liferaycloud/nginx:1.16.1-4.0.1

    Jun 23 11:03:06.461 build-481 webserver[building] Deployment interrupted: {"message":"Bad Request","status":400,"errors":[{"reason":"certificateDoesNotCoverDomain","context":{"message":"The SSL certificate does not cover domain www.testdomain-uat.cloud.net","domain":"www.testdomain-uat.cloud.net"}}],"deploymentUid":"caadklhnlcuhculuchljnkaowuery"}

Environment

  • Liferay Cloud

Resolution

  • The newly added SSL certificate doesn't cover all the domains listed in the LCP.json file and due to this, the deployments are failing only in the webserver service. The SSL should cover all the wildcard domains to avoid this problem.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base