I've successfully created a site (2 virtualhost, I've another site at the same domain) using apache2 on Debian 9 Stretch (Raspian since is a raspberry) .
It's stored in at this path: /var/www/html/www.mysite.ddns.net/www/
.
I can access to it following the link: mysite.ddns.net
Now I'd like to setup an https connection so I tried to use Let's encrypt using Certbot
Unfortunately when I run the command sudo certbot --apache
, it gives me this error:
Obtaining a new certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Where is the problem?
-certonly
option and then manually configure Apache to use the certificate?sudo certbot -certonly
? This is what I obtain:certbot: error: File not found: ertonly