Using Certbot with Linode-DNS for a Wildcard Certificate
I've been unable to use the documented process for acquiring a wildcard certificate for my domain. Here's the docs for Linode's DNS plugin for Certbot:
https://certbot-dns-linode.readthedocs.io/en/stable/
The problem is the Linode plugin is not available for Ubuntu in the PPA repository:
https://launchpad.net/~certbot/+archive/ubuntu/certbot
This appears to be acknowledged in this LetsEncrypt Community thread, which is over a year old and still has no resolution:
https://community.letsencrypt.org/t/certbot-dns-linode-missing-from-repository/76513
Is there an alternative way to get the Linode DNS plugin so I can use Certbot to install a wildcard certificate on my server?
7 Replies
Hi @aaronvegh!
@JBF had the same concerns here, https://www.linode.com/community/questions/17709/certbot-linode-dns-plugin-on-ubuntu-1604
I'm talking to the PPA maintainers now to see if we can get included in the PPA.
Our driver was introduced after the PPA was created, so it wasn't included originally.
Thanks for the response. Any idea how long this might take? Are we talking days, weeks, months… years? It looks like this has been a problem for over a year.
Assuming there's no short-term fix, my question then becomes: is there a manual way to create a wildcard certificate with LetsEncrypt while being hosted on Linode?
@aaronvegh certbot could be manually installed from source, or run via a docker container (which includes all plugins):
https://certbot.eff.org/docs/install.html#running-with-docker
Alternatively, you can use lego.
https://github.com/xenolf/lego#installation
I have some Linode specific usage instructions for that here:
https://github.com/xenolf/lego/pull/622#issuecomment-423786315
--
I haven't received a reply from the maintainers yet. Since this is a PPA it shoudn't take much time to change the package.
You can snag the package from the debian repository instead and install it with dpkg:
wget http://ftp.us.debian.org/debian/pool/main/p/python-certbot-dns-linode/python3-certbot-dns-linode_0.31.0-1_all.deb
dpkg -i python3-certbot-dns-linode_0.31.0-1_all.deb
apt -f install
(That last line installs any dependencies the package lacks.)
The exact package may change, so look for it here:
https://packages.debian.org/buster/all/python3-certbot-dns-linode/download
This worked for me on Ubuntu 18.04 today.