Last active
April 6, 2016 11:16
-
-
Save loganmzz/791e0cdd3af34461ab97fafd9cd22f35 to your computer and use it in GitHub Desktop.
Docker boot to append certificates
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/sh | |
#To drop in /var/lib/boot2docker/bootsync.sh | |
echo "Appending custom ca-certificates" | |
for file in /var/lib/boot2docker/certs/*.pem; do | |
echo " - Append $file" | |
cat "$file" >> /etc/ssl/certs/ca-certificates.crt | |
done | |
echo "Appending custom ca-certificates (complete)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment