Describe the bug
When SSL generation fails once (example: we try to spawn a site with SSL, but the domain is not pointing, so the process fails), acme.sh keeps records of this attempt, so when we try to spawn the site again (after pointing the domain), the process will fail with the following log:
sudo e2sp spawn wp6.e2e.rocketlabsqa.ovh --ssl
Preparing to create site: wp6.e2e.rocketlabsqa.ovh
⚠️ SSL CONFIGURATION WARNING ⚠️
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For SSL installation to succeed:
• The domain 'wp6.e2e.rocketlabsqa.ovh' MUST already be pointing to this server
• DNS propagation must be complete
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WordPress will be installed on this site.
✓ Nginx configuration file for HTTP created successfully
✓ Site directory created successfully
2026/04/14 16:55:10 [notice] 13049#13049: signal process started
SSL will be enabled for this site.
✓ SSL directory created successfully
🔐 Generating SSL certificate for 'wp6.e2e.rocketlabsqa.ovh'
────────────────────────────────────────────────────────────
1. Requesting certificate from Let's Encrypt...
ℹ️ Certificate already exists, skipping issuance
2. Installing certificate to nginx directories...
✗ SSL generation failed: Failed to install SSL certificate:
• Check if the SSL directory /etc/nginx/ssl/wp6.e2e.rocketlabsqa.ovh exists
• Ensure proper permissions to write to /etc/nginx/ssl/wp6.e2e.rocketlabsqa.ovh
• Verify nginx service is running
Error output:
[Tue Apr 14 16:55:11 UTC 2026] The domain 'wp6.e2e.rocketlabsqa.ovh' seems to already have an ECC cert, let's use it.
[Tue Apr 14 16:55:11 UTC 2026] Installing key to: /etc/nginx/ssl/wp6.e2e.rocketlabsqa.ovh/privkey.pem
[Tue Apr 14 16:55:11 UTC 2026] Installing full chain to: /etc/nginx/ssl/wp6.e2e.rocketlabsqa.ovh/fullchain.pem
cat: /root/.acme.sh/wp6.e2e.rocketlabsqa.ovh_ecc/fullchain.cer: No such file or directory
✗ Site creation failed, reverting changes...
Reverting: Deleting SSL directory for site: wp6.e2e.rocketlabsqa.ovh
Reverting: Deleting site directory for site: wp6.e2e.rocketlabsqa.ovh
Reverting: Deleting Nginx config for site: wp6.e2e.rocketlabsqa.ovh
Site creation process reverted for site: wp6.e2e.rocketlabsqa.ovh
Describe the bug
When SSL generation fails once (example: we try to spawn a site with SSL, but the domain is not pointing, so the process fails),
acme.shkeeps records of this attempt, so when we try to spawn the site again (after pointing the domain), the process will fail with the following log: