This is how to manage Letsencrypt in Ubuntu.
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache
# Create ssl certificate
sudo certbot --apache