I did
$sudo certbot --apache
then I am prompted with
Which names would you like to activate HTTPS for?
1: www.sofkar
Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter ‘c’ to cancel):
and then I enter and I get the following error message:
An unexpected error occurred: The server will not issue certificates for the identifier :: Error creating new order :: Cannot issue for “www.sofkar”: Domain name does not end with a valid public suffix (TLD) Please see the logfiles in /var/log/letsencrypt for more details.
Then I did
/var/log/letsencrypt for more details
and I got
-bash: /var/log/letsencrypt: Is a directory
Can anyone tell me what this means and how to fix it??
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @kherrera
As the error message says - Cannot issue for “www.sofkar”: Domain name does not end with a valid public suffix (TLD)
This means that you’re missing the domain name’s extension, e.g - .com or .net or .org and so on.
You need to enter the domain name with the domain extension and then give it another go.
Regards, Alex
go to sudo nano /etc/apache2/sites-available/sofkar.conf
change your server alias to www.sofkar.XX
XX is your public suffix (TLD)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.