Skip to content
Back

function subdomain ssl certs

  • 0
  • 2
  • Self Hosted
  • Functions
  • Web
jSnake🐍🕊
1 Mar, 2026, 21:00

The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com?

I tried adding a subdomain for comment-manage.jakehooper.pro this domain jakehooper.pro is where I also host appwrite with the console and api accessible at appwrite.jakehooper.pro. Is that going to cause any issue with the certs?

TL;DR
To generate SSL certificates for functions, add a CNAME record for each function domain. Make sure to follow the steps outlined in the documentation for automated certificate generation. In some cases, wildcard domains in DNS won't verify, so individual CNAME records may be necessary. Also, remember to set your function domain environment variable.
1 Mar, 2026, 21:09

selfhosted, no nginx in front of appwrite

1 Mar, 2026, 21:10

https://appwrite.io/docs/advanced/self-hosting/configuration/tls-certificates#manual-generation I ran this to try to kick off a ssl job, not sure how long it takes

1 Mar, 2026, 21:29

Do we have to add a cname record for every function?

4 Mar, 2026, 20:11

it seems to be working now but I have to add each function domain to my dns with a cname record

4 Mar, 2026, 20:11

i was just wondering if that is the only way, it won't verify a wildcard domain in the DNS

4 Mar, 2026, 20:18

some of the cname records i have on my appwrite instance

4 Mar, 2026, 20:21

so "message-send.functions.jakehooper.pro" wasn't validating in appwrite. I fiddled with it to get it to work, but probably not ideal with all the dns hops

5 Mar, 2026, 02:57

No, please read the linked section

5 Mar, 2026, 02:58

Did you set your function domain environment variable?

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