certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
1: leak.citizensec.kz
2: www.leak.citizensec.kz
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for leak.citizensec.kz
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: leak.citizensec.kz
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for leak.citizensec.kz - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for leak.citizensec.kz - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.