mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-12-23 04:02:19 +00:00
11 lines
259 B
Bash
11 lines
259 B
Bash
|
#!/bin/bash -eu
|
||
|
|
||
|
echo '>> Installing custom certificates...'
|
||
|
sudo cp /tmp/certs/* /usr/local/share/ca-certificates/
|
||
|
cd /usr/local/share/ca-certificates/
|
||
|
for file in *.cer; do
|
||
|
sudo mv -- "$file" "${file%.cer}.crt"
|
||
|
done
|
||
|
sudo /usr/sbin/update-ca-certificates
|
||
|
|