feat(makefile): add targets to install and remove CA cert on local PC

- Add install-ca and remove-ca targets to GNUmakefile.

- Allows local installation/removal of certs/koji_ca_cert.crt into the system CA trust anchors.

Co-developed-by: Gemini AI <renich+gemini@woralelandia.com>

Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>
This commit is contained in:
Rénich Bon Ćirić 2026-06-16 12:18:00 -06:00
commit 7f6d539ac5
Signed by: renich
GPG key ID: AB2A9F49384FE324
2 changed files with 13 additions and 0 deletions

View file

@ -32,3 +32,14 @@ bootstrap:
.PHONY: reset
reset:
ansible-playbook --vault-pass-file=.pass reset.yaml
.PHONY: install-ca
install-ca:
cp certs/koji_ca_cert.crt /etc/pki/ca-trust/source/anchors/koji_ca_cert.crt
update-ca-trust
.PHONY: remove-ca
remove-ca:
rm -f /etc/pki/ca-trust/source/anchors/koji_ca_cert.crt
update-ca-trust