Skip to content

Instantly share code, notes, and snippets.

@tonejito
Created June 5, 2014 01:42
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