Skip to content
Back

SSL Certificates for sites and functions

  • 0
  • Self Hosted
  • Cloud
Alex Bourg
26 May, 2025, 23:40

how to issue SSL certificate for the wildcard *.sites.website and *.fn.website ? also for custom website domains?

I configured the following:

TypeScript
_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:

TypeScript
docker compose exec appwrite ssl domain="cms.cyberitex.com"

I tried the following but it didn't work:

TypeScript
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/

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more