Created
June 5, 2014 01:42
-
-
Save tonejito/2bd654703166d7536c98 to your computer and use it in GitHub Desktop.
install-vmware-certs.sh - Fix VMware cert error by installing CA certificate into ssl capath
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 | |
# install certificate into CApath | |
# I use relative paths to keep compatibility with chroot'd environments | |
cd /etc/ssl/certs/ | |
ln -vsf ../../../usr/lib/vmware-ovftool/certs/cacert.pem vmware.pem | |
# Regenerate openssl CA database | |
c_rehash > /dev/null | |
printf "\n\t%s\t\n\n" "= ^ . ^ =" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment