I’ve site named site1.local, i guess renaming the site according to specific is required for the SSL installation,
so can somebody please mention steps of the safest way for renaming the existing site and installing SSL after renaming. because i am on the live server.
There is no need to rename the sitename for ssl installation .
So if you want to rename the sitename use command
“mv oldsitename newsitename” and you can proceed with ssl
I tried sudo bench setup lets-encrypt site1.local and got below error and SSL not installed, nothing happened.
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Obtaining a new certificate
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)
Please see the logfiles in /var/log/letsencrypt for more details.
IMPORTANT NOTES:
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
INFO:bench.utils:sudo systemctl start nginx
There was a problem trying to setup SSL for your site
1st Step : Turn on dns based multitenancy,
2nd Step : create new site as same as domain name,
3rd Step : take backup of old site, and restore to new one,
4rth Step : sudo bench setup lets-encrypt [domain name same as sitename]
Questions : can’t i rename old site? because i did mv oldsitename newsitename then its shows Sorry! We will be back soon.
2nd Question is after creating new site and restoring the old one into it, should i delete old site? named site1.local.