mirror of
https://github.com/seemueller-io/cluster.git
synced 2025-09-08 22:56:46 +00:00
12 lines
287 B
Bash
12 lines
287 B
Bash
#!/usr/bin/env sh
|
|
|
|
untrust_cert() {
|
|
cert_path=$1
|
|
echo "Removing trust for development certificate"
|
|
sudo security remove-trusted-cert -d $cert_path
|
|
}
|
|
|
|
untrust_cert ./cluster.crt
|
|
untrust_cert ./zitadel.crt
|
|
|
|
echo "Development certificates successfully removed from system trust store" |