Please Help Step by Step Guide SSL Installation

I want to install SSL my erpnext server with a domain, need step by step installation guide.

sudo bench setup lets-encrypt [site-name]

Not Working, after execute this command site not work.

share error or traceback

Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.

please details step by step process please.

paste output for sudo nginx -t

site name & domain name should be same?

if your domain is and your site name is then it wont work.

If your site is then it will work

before install ssl need to add custom domain to site?

frappe@ip-172-26-9-89 : ~/frappe-bench/sites $ sudo nginx -t

nginx: [warn] invalid value “TLSv1.3” in /etc/nginx/conf.d/frappe-bench.conf:157

nginx: configuration file /etc/nginx/nginx.conf test failed

frappe@ip-172-26-9-89 : ~/frappe-bench/sites $

delete the value TLSv1.3

how to?

I thought the error is clear
it’s in /etc/nginx/conf.d/frappe-bench.conf
find TLSv1.3 and delete it

Now This Problem
An unexpected error occurred:

The server will not issue certificates for the identifier :: Error creating new order :: Cannot issue for “site1.local”: Domain name does not end with a valid public suffix (TLD)

I thought you are doing for some domain, not registering site1.local ?

any solution?

Install your site with domain you want to register its ssl

rename site. now error…

Obtaining a new certificate

Performing the following challenges:

http-01 challenge for

Waiting for verification…

Challenge failed for domain

http-01 challenge for

Cleaning up challenges

Some challenges have failed.


  • The following errors were reported by the server:


Type: dns

Detail: No valid IP addresses found for