Certificate error

When I try to open https://terradiem.onrender.com with my browser, I get the following error

SSL_ERROR_BAD_CERT_DOMAIN
Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for this site. The certificate is only valid for: *.app.render.com, *.render.com, render.com

Is there a certificate for “onrender” too ? How do I activate it ?

Hi @jpuaux,

When I make a GET request to https://terradiem.onrender.com, I see a 301 redirect to https://www.terradiem.onrender.com/ from your gunicorn server. https://www.terradiem.onrender.com is not a valid Render domain name, since we only allow one dot before “onrender.com”.

You will need to update your server code to either remove the redirect or redirect to a custom domain that you control.