You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 18 domains mapped to this environment. I am attempting to deploy it, but it can't find a SSL cert. Well... I don't know which of the 18 domains it's having a fit about. This error message should be more clear about what is failing.
➜ garman git:(ymir) ✗ ymir deploy production
A new version of the Ymir CLI is available: 1.39.1 → 1.42.0
Project ymir.yml file is valid
Building project
> Copying WordPress files
> Downloading WP-CLI
> Executing build commands
> Ensuring Ymir plugin is installed
> Copying Ymir must-use plugin
> Extracting asset files
> Compressing build files
Project built successfully
Uploading build (100%)
Processing assets
> Getting signed asset URLs
> Uploading new asset files (2954/2954)
Deployment starting
> Ensuring cache table exists
> Ensuring email domains exist
> Ensuring environment role exists
> Ensuring functions exist
> Configuring environment image processing function
> Configuring network
> Preparing domain names
> Assigning SSL certificate
Deployment failed with error message:
No certificate found on cloud provider
The text was updated successfully, but these errors were encountered:
After debugging this further, I've found that it doesn't matter what the domains are or if the domains have
Note the below, in scenario 1, a wildcard domain.dev is added, and www.domain5.com is missing. In scenario 2, the wildcard was removed, and the www is added back. In scenario 3, both exist.
Based on this, there is some limit somewhere of 10 domains (9 + Ymir vanity) that causes an error that comes back during deploy as "no certificate found" - I don't believe that error to be accurate based on the 3 test scenarios.
Congradulations @pmgarman, you've now found the most complex part of the Ymir codebase. 🥳😆
Ymir does a lot of work behind the scenes to manage SSL certificates and create the correct one covering all your domains. This is because CloudFront only supports one certificate so I need to manage all that.
The error is definitely not accurate. ACM supports 100 domains per certificate. Currently, Ymir limits domains to 99 items. But you can cover more domains with wildcards since they count as one.
I'll need to dig into this further and try to replicate your scenario.
I have 18 domains mapped to this environment. I am attempting to deploy it, but it can't find a SSL cert. Well... I don't know which of the 18 domains it's having a fit about. This error message should be more clear about what is failing.
The text was updated successfully, but these errors were encountered: