Question

Trouble obtaining SSL certification

Posted November 21, 2021 75 views
ApacheDigitalOceanUbuntu 20.04DigitalOcean Droplets

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

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