OK, it's fairly easy to get this done on a distro like Funtoo/Gentoo or Fedora, which are the distros I use.
First of all, you need to install this thing on your server:
# Fedora
su -
dnf -y install letsencrypt
# Funtoo/Gentoo
su -
mkdir src && cd src
git clone https …