Currently, version 0.22.2 is only available on the Ubuntu 17.xx repository. Other Linux distributions may differ of course. If you currently have Certbot installed under 17.xx you may wish to “certbot delete” and “apt purge” it first. In other words you should probably start over.
[prism:bash]sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
[/prism:bash]
[prism:bash]$ certbot –version
certbot 0.22.2[/prism:bash]
[prism:bash]sudo nano /etc/letsencrypt/cli.ini
[/prism:bash]
[prism:bash]server = https://acme-v02.api.letsencrypt.org/directory[/prism:bash]
[prism:bash]sudo certbot –agree-tos –manual –preferred-challenges dns certonly -d *.domain.tld[/prism:bash]
At this point, just follow the prompts.
When it prompts for you to add a DNS TXT record, you will need to do that. As far as I know, other validation/plugins do not support newest LE (yet).