Created
April 28, 2018 12:11
-
-
Save geekbass/84fce3e0921fe5e350385f3e023fc326 to your computer and use it in GitHub Desktop.
Unpack a tar ball of certs and inject into root ca for RH Distros. Awesome Team member set this up for us.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOCATION=`S3|http|NFS|ETC|location_of_tar` | |
sudo curl -o /tmp/ca-certs.tar $LOCATION \ | |
&& sudo cd /etc/pki/ca-trust/source/anchors \ | |
&& sudo tar vfx /tmp/ca-certs.tar \ | |
&& sudo /usr/bin/update-ca-trust extract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment