acme_ssl

Build Status

SSL certificates powered by ACME

This role will roll manage SSL certificates for given hosts using the ACME protocol.

The default (and tested!) setup is using Pebble (https://github.com/letsencrypt/pebble), but when configured accordingly, it should also work with any other ACME-compliant server.

Requirements

Ansible collection requirements:

  • community.general

  • community.crypto The succesful execution of this role requires the following on the Ansible Control Host:

  • Access to a DNS authoratative server for the DNS domain you wish you supply with certificates This is only required when you use the DNS-01 check (personal recommendation, this is what you want!) OR

  • Access to the webserver that serves the website you wish to get a certificate for

  • HTTPS access to the ACME server's API

This role will request the certificates on the Ansible Control Host and distribute them from there on, this allows for using the same certificate on multiple systems (for example, on a reverse proxy for webmail and the mailserver as well)

Usage

After fulfilling the requirements above this role can be used as follows:

  • Install the role (either from Galaxy or directly from GitHub)
  • Copy the defaults file to your inventory (or wherever you store them) and fill in the blanks
  • Add the role to your master playbook
  • Run Ansible
  • ???
  • Profit!

After this role has run, it will have placed all requested certificates on the servers where you want to have them.

Keep in mind: This role does NOT reconfigure software to actually use those certs! It will create a group on your system 'ssl-cert' with access permissions to the certificate files.

Install
ansible-galaxy install Thulium-Drake/ansible-role-acme_ssl
GitHub repository
License
gpl-3.0
Downloads
4320