Search notes:

Python library: certbot

certbot allows to easily obtain and configure a free certificate from Let's Encrypt.
Certbot is intended to be executed on the machine where the webserver is running.
With root privileges, certbot is able to automatically configure TLS/SSL for Apache and nginx.
All generated keys and issued certificates are stored in /etc/letsencrypt/live/$domain ($domain = certificate name).

Links

Certbot instructions

Index