Just to give a little bit of info, I deployed Rocket.chat that uses Traefik as reverse proxy and for SSL, by default this also runs on ports 80 and 443.
Now, if I’m not mistaken, Traefik SSL is optimized for ERPNext running on Docker container, however this is not how I’ve set up my ERPNext on which I have manually installed on Ubuntu Server.
I followed this tutorial that uses Nginx web server to install SSL:
But I got this error:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: <>
Type: unauthorized
Detail: <>: Invalid response from <>/.well-known/acme-challenge/mFuRUSR0Ak0hwAjc_JAybmEaNueYhgZqUtEno-bt7wQ: “\n\n\n <link rel=“stylesheet” type=“text/css” class=“meteor-css” href=”/36408fc8183fca0a5d551568692"Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
I figured it’s caused by Traefik.
Does anyone know how to issue SSL using Nginx separately for ERPNext instance?