6 lines
246 B
Plaintext
6 lines
246 B
Plaintext
|
#!/bin/bash
|
||
|
#
|
||
|
echo -n | openssl s_client -showcerts -connect git.mount-mockery.de:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee /usr/local/share/ca-certificates/mount-mockery.crt
|
||
|
sudo update-ca-certificates
|
||
|
|