Alex BourgOriginal post
Rank 2: Process
how to issue SSL certificate for the wildcard *.sites.website and *.fn.website ? also for custom website domains?
I configured the following:
_APP_DOMAIN=cms.cyberitex.com
_APP_DOMAIN_FUNCTIONS=fn.cyberitex.com
_APP_DOMAIN_SITES=sites.cyberitex.com
_APP_DOMAIN_TARGET=cms.cyberitex.com
_APP_DOMAIN_TARGET_CNAME=cms.cyberitex.com
and issued manually issued SSL certificate for my domain using this command:
docker compose exec appwrite ssl domain="cms.cyberitex.com"
I tried the following but it didn't work:
root@cms:/home/appwrite# docker compose exec appwrite ssl domain="*.sites.cyberitex.com"
Skipped SMS processing. Missing "_APP_SMS_PROVIDER" or "_APP_SMS_FROM" environment variables.
Skipped SMS processing. Missing "_APP_SMS_PROVIDER" or "_APP_SMS_FROM" environment variables.
Scheduling a job to issue a TLS certificate for domain: *.sites.cyberitex.com
site sample: https://magic-portfolio.sites.cyberitex.com/about
function sample: https://6834f7810015ba839a42.fn.cyberitex.com/
Summary
Developers seek guidance on issuing SSL certificates for wildcard domains like `*.sites.website`, `*.fn.website`, and custom website domains. They shared their configuration and manual SSL certificate issuance for a domain. However, when attempting to issue certificates for `*.sites.cyberitex.com`, they encountered errors related to missing environment variables.
Solution: Ensure all necessary environment variables like "_APP_SMS_PROVIDER" are properly set before trying to issue SSL certificates for wildcard domains.