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
- [Self-hosted] Realtime crashes with "Mis...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...