I have just one question regarding certificate generation. When I create a domain for a function, I do not observe any job requests in the logs of the appwrite-worker-certificates.
Therefore, I always find myself needing to manually force the generation of a certificate. I do this using the following command:
docker compose exec appwrite ssl domain="my-test.functions.dev.example.com"
For your reference, here is my environment setup:
_APP_DOMAIN=aw.dev.example.com
_APP_DOMAIN_FUNCTIONS=aw-fnct.dev.example.com
_APP_DOMAIN_TARGET=aw.dev.example.com
Could you clarify under what conditions or scenarios the certificate generation is automatically triggered?
ya...by default, certificates don't get generated automatically for those
Okay, thanks. So, just to make sure I've got it right: If I add a new domain as an entrypoint to execute my function from a URL (2), appwrite-worker-certificates service will only produce a self-signed certificate in this case and I need to create a Let's Encrypt certificate myself to achieve what's described in line (3)?
if you create a custom function domain, it should create a certificate. The auto generated domain won't have a cert
self-signed or Let's encrypt one? On my configuration, only a self-signed is generated not a Let's encrypt. Btw the main domain certificate was generated without problem. My appwrite dashboard is protected.
Just to go back to your response, I need to understand
if you create a custom function domain, it should create a Let's Encrypt certificate.
or
if you create a custom function domain, it should create a Self-Signed certificate.
if you create a custom function domain, it should create a Let's Encrypt certificate.
Ok then, my setup has an issue. I will investigate it tomorrow. Thanks for your clarification.
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...