AutoSSL

Automatic replacement and renewal of SSL certificates based in alocal daemon and a web application, supporting popular web server software (Nginx, Apache).

One of the repetitive tasks performed by system administrators is the renewal of SSL certificates associated with the web servers they manage. There is an automatic “bot” for certificate renewal called certbot, but it is only ready to use Let’s Encrypt certificates, which may not be suitable for corporate environments.

In this project we want to develop a bot or daemon that runs on the servers where the web servers are located, analyzes their configuration (supporting at least Nginx and Apache) and is ready to apply new certificates when required. Instead of taking care of automatic renewal, what the bot will do is communicate with a web backend (with direct HTTP calls to the backend, and it will receive queued messages from it using RabbitMQ, ZeroMQ, Kafka or similar), both to inform about which certificates are installed, their status and to which domain they are associated, and to receive new certificates and install them on the web server, restarting it if necessary.

Users will be able to access a web application to see the status of their servers (what web server each one has, what machine it is on, what domains are managed on it, the status of the certificates, etc) and send them a certificate renewal file (usually a ZIP containing the private key, certificate, certification chain, etc) to be validated and applied, keeping a copy of the previous certificates in case a rollback is needed. The bot will know where to place each file based on the current configuration and, if necessary, combine some of the files (e.g. certificate and certificate chain in the case of Nginx).

It would also be desirable to be able to generate a CSR (Certificate Signing Request) on the server because sometimes, if it is not generated by the system, it is necessary for renewal.

The daemons or bots should automatically register against the backend, reporting the configuration and status of the machine.

The latest major versions of Nginx and Apache will be supported, detecting unsupported versions to avoid causing damage to older servers.


TOP