letsencrypt / certbot
Installation
https://certbot.eff.org/
#sudo apt-get install -y software-properties-common
#sudo add-apt-repository -y ppa:certbot/certbot
sudo apt-get update
sudo apt-get install -y certbot
# Install certbot package with Ansible:
https://github.com/panticz/ansible/tree/master/roles/certbot
# create certificate and configure nginx
certbot --nginx -d www.example.com
create wildcard certificate