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:
parent
08882ba0fe
commit
7f6d539ac5
2 changed files with 13 additions and 0 deletions
11
GNUmakefile
11
GNUmakefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue