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
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
- Console Login after upgrade
Hi, running a small instance self hosted, upgraded from 1.6.0 to 1.74 this morning before spotting the migration guide... When trying to login to the console n...
