cURL error 60: SSL certificate expired in Adobe Commerce

This article shows how to check when the last time a branch was deployed after receiving a cURL error 60: SSL certificate expired in the Master or Integration branches on Adobe Commerce on cloud infrastructure.

Description description

Environment

Issue/Symptoms

  • The SSL certificates in those branches are only valid for 30 days.

  • The branch may not have been re-deployed in over 30 days.

  • The error will look similar to this:

    code language-none
    cURL error 60: SSL certificate problem: certificate has expired
    

Cause

These certificates are not signed by well-known external Certificate Authorities (CAs) like Let’s Encrypt or DigiCert. They are managed by the Adobe platform for the purposes of testing and development, and may not be trusted by default in browsers or curl unless you explicitly trust the root issuing the certificate.

Resolution resolution

Check when the last time the branch was deployed. If over the 30-day threshold, then re-deploy the branch.

Two methods to check for when the last deployment was performed:

  • Method 1: Use magento-cloud CLI
  • Method 2: Open the Project URL

If the deployment has been completed successfully, the SSL certificate will be automatically renewed.

If the deployment fails and you need assistance resolving it, a support ticket.

Method 1: Use magento-cloud CLI

Run this command: magento-cloud activity:list --type=environment.push

Method 2: Open the Project URL

Go to, for example: https://demo.magento.cloud/#/projects/<project>/environments/<environment>, and check when the last deployment was performed.

recommendation-more-help
experience-cloud-kcs-help-kbarticles