Skip to content

Instantly share code, notes, and snippets.

@tonejito
Created June 5, 2014 01:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tonejito/2bd654703166d7536c98 to your computer and use it in GitHub Desktop.
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
#!/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