mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
For now, the images are still built on the target machine for testing, in the end they need to be built in a GitHub action.
13 lines
364 B
Bash
Executable File
13 lines
364 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd /etc/nginx/ssl
|
|
echo >> acme_tiny.log
|
|
date >> acme_tiny.log
|
|
python3 /opt/labca/acme_tiny.py --account-key ./account.key --csr ./domain.csr --acme-dir /var/www/html/.well-known/acme-challenge/ > domain_chain.crt 2> >(tee -a acme_tiny.log >&2) || exit 1
|
|
mv domain_chain.crt labca_cert.pem
|
|
|
|
cd /opt/boulder
|
|
docker-compose restart nginx
|