Project

General

Profile

Request Certificates for code.refol.us and semaphore.refol.us

Ansible
09/08/2025

Request Certificates for code.refol.us and semaphore.refol.us

Use the following steps to request web certificates for code.refol.us and semaphore.refol.us. These two web services are hosted in the same host.

Login to an Ansible Control Node

Login to an Ansible control node and set the following to prep the playbook execution.

cd /ansible/dev/ansible
source /opt/python_3.12/bin/activate
INV=inventory/ansible/inventory.ini

Request Certificates

Execute the following to request certificates.

ansible-playbook -i $INV -k playbooks/certs/generate_certs.yml

New certificates should be available in the /data/letsencrypt/archive/semaphore.refol.us and /data/letsencrypt/archive/code.refol.us folders of rproxy-0.

Stage Certificates

Execute the following to stage certificates.

ansible-playbook -i $INV -k playbooks/certs/stage_certs.yml

The new certificates should be available in the /data/certs/semaphore.refol.us/ and /data/certs/code.refol.us/ folder of rproxy-0.

Files