mirror of
https://github.com/seemueller-io/cluster.git
synced 2025-09-08 22:56:46 +00:00
Development environment functions
This commit is contained in:
12
packages/scripts/untrust_dev_certs.sh
Normal file
12
packages/scripts/untrust_dev_certs.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user