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 xyz.com and your site name is pqr.com then it wont work.
If your site is abc.xyz.com 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 erp.informatics-sys.com
Waiting for verification…
Challenge failed for domain erp.informatics-sys.com
http-01 challenge for erp.informatics-sys.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: erp.informatics-sys.com
Type: dns
Detail: No valid IP addresses found for erp.informatics-sys.com
now it’s works.