To get a wildcard SSL certificate from LetsEncrypt you need to run certbot version 0.22 or later according to
I've installed certbot from apt using
sudo apt-get install certbotHowever, that reports:
certbot is already the newest version (0.17.0-2).
How can I upgrade certbot to a version that supports wildcard certificates?
3 Answers
If you have already installed Certbot, you should add a parameter to apt-get install to upgrade only a specific package
sudo apt-get update
sudo apt-get install --only-upgrade certbotCheck version number
certbot --version || /path/to/certbot-auto --version1Reference answer: How to upgrade a single package using apt-get?
As the certbot site indicates, the certbot team maintains a PPA. The certbot package is at 0.22.2 on all supported versions of Ubuntu in that PPA. (What are PPAs and how do I use them?)
Check version number:
certbot --versionOn Ubuntu systems, the Certbot team maintains a PPA. You can add it to your list of repositories and install Certbot by running the following commands:
$ sudo apt update $ sudo apt install software-properties-common $ sudo add-apt-repository universe $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt install certbot