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
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...