Skip to content

Instantly share code, notes, and snippets.

@mdeguzis
Forked from tonejito/install-vmware-certs.sh
Last active September 20, 2015 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdeguzis/11ff750b66a7dca8904f to your computer and use it in GitHub Desktop.
Save mdeguzis/11ff750b66a7dca8904f to your computer and use it in GitHub Desktop.
install-vmware-certs.sh - Fix VMware cert error by installing CA certificate into ssl capath
#!/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