LXC-SM: Custom domains are not SSL certified by Liferay

Issue

  • We have domains that are NOT using custom SSL certificates, however, they refuse to use https connection.

Environment

  • Liferay Experience Cloud Self Managed (LXC-SM)

Resolution

  • The correct methodology to achieve these results is modifying your LCP.json file of your Webserver service like the following:
  • "prd": {
    "loadBalancer": {
    "targetPort": 80,
    "cdn": true,
    "certs": [
    {
    "customDomains": ["custom-domain.with-custom-certificate.example"],
    "key": "@ssl-key-secret-multidomain",
    "crt": "@ssl-crt-secret-multidomain"
    },
    {
    "customDomains": ["custom-domain.with-default-certificate.example"]
    }
    ]
    }
  • Proper changes in certificate generation may take a couple of hours.

Additional Information

Was this article helpful?
1 out of 1 found this helpful