ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Https not setup after Single bench deploy?

I’ve followed the single bench deploy instructions to deploy & the deployment worked fine. However the https seems to be not working

erpnextBug

I’m sure I’m missing some configuration. Below is the env file.

Can you help?

Hi! I think it’s a problem with ngnix. Verify that the nginx configuration file leads to the letsencrypt certificates.
It also clears the web browser cache.

check the logs of traefik container.

Here is the traefik container log when I try to connect to the website

time=“2021-11-15T15:37:49Z” level=debug msg=“Serving default certificate for request: “subdomain.domain.com””
time=“2021-11-15T15:37:49Z” level=debug msg=“Serving default certificate for request: “subdomain.domain.com””
time=“2021-11-15T15:37:49Z” level=debug msg=“http: TLS handshake error from 106.217.57.52:2512: remote error: tls: unknown certificate”
time=“2021-11-15T15:37:49Z” level=debug msg=“http: TLS handshake error from 106.217.57.52:2510: remote error: tls: unknown certificate”

I suppose traefik should automatically install & configure the LetsEncrypt certs as part of the deploy. But looks like something is missing.

Is it an issue with my initial config file or something that I need to configure manually?