Cannot renew domain (cloud.rubyguard.org) on attempt no. 6 certificate: You must set a valid securit
- 0
- Self Hosted

now this is the new error found

Apparently you already have a certificate


What are your SSL settings in cloudflare?

And have you set any other setting in cloudflare so far?


only the WAF

What is your _APP_OPTIONS_FORCE_HTTPS value in your .env


can you disable for now and try again

To be honest I don't know how appwrite handles a situation where you change your domain afterwards


its working right know

I disabled the for https

You can keep it disabled because cloudflare will handle that for you

anywas regards with bypassing lets encrpyt

Set cloudflare SSL to full and enable redirect to https


when I deploy it

it said that the action parameter for skip is required

Check "All remaining custom rules"

This will allow letsencrypt to access your server

Thank you so much for helping me

You're welcome.

Oh there is one more thing. Almost forgot.
Add the following lines to your traefik command block
- --entryPoints.appwrite_websecure.forwardedHeaders.trustedIPs=198.41.200.0/24,198.41.192.0/24,173.245.48.0/20,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,141.101.64.0/18,108.162.192.0/18,190.93.240.0/20,188.114.96.0/20,197.234.240.0/22,198.41.128.0/17,162.158.0.0/15,104.16.0.0/13,104.24.0.0/14,172.64.0.0/13,131.0.72.0/22```
These are the ips from cloudflare https://www.cloudflare.com/ips-v4/#
You have to do that in order to show the real ip from the user. Otherwise it will use the ips from cloudflare. After that you should be set and ready to go.
Recommended threads
- SDK mismatch
Hi there, The following warning is currently appearing in my console: ``` Warning: The current SDK is built for Appwrite 1.8.0. However, the current Appwrite...
- Can't read files from s3 storage directl...
I try to download the files stored by appwrite directly from my S3 provider. The bucket is not encrypted and no gzip but the files seem not to be stored there i...
- function unable to detect client ip
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect t...
