12345678 |
- #!/bin/bash
- #
- if [[ $UID != 0 ]]; then
- sudo $0
- else
- cp /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.orig-git
- echo $(echo -n | openssl s_client -showcerts -connect mount-mockery.de:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p') >> /etc/ssl/certs/ca-certificates.crt
- fi
|