Create certificate for a new domain in Ubuntu 16.04 (Apache)

Hello,

I have a VM Ubuntu Server 16.04 with Apache and I have already used let's encrypt int the past to generate certificate for a domain.

Now, I want to generate a new certificate but when I run the command sudo certbot --apache -d kotronis-plastics.gr -d www.kotronis-plastics.gr I get an error :

Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

How can I solve this problem?

Thanks a lot!

My domain is: kotronis-plastics.gr

I ran this command: sudo certbot --apache -d kotronis-plastics.gr -d www.kotronis-plastics.gr

It produced this output:

Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

My web server is (include version): Apache/2.4.18 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu Server 16.04

My hosting provider, if applicable, is: vultr

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

Let''s Encrypt is phasing out the TLS-SNI validation method, used by older versions of Certbot's Apache plugin, for security reasons.

See these threads for more:

You can run a slightly different Certbot command, or upgrade to Certbot 0.21.0 or newer. Since the PPA is still packaging an older version, you may have to install Certbot a different way, like by using certbot-auto.

Thanks a lot for your answer!

Because I am newbie, could you inform me please what commands should I run in my VM? I followed this tutorial to install Certbot in the past.

The slightly different command you are referring is the following?
sudo certbot --authenticator webroot --installer apache\ --webroot-path /var/www/html/mynewsite -d mydomain.com -d www.mydomain.com

Thanks a lot!

The backslash isn’t part of the command; it’s used in the example to split the command across two lines, but if you’re entering it on one line you should omit the backslash. Otherwise that looks correct.

1 Like

Thanks a lot for your reply!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.