Page 1 of 1

TIP: Quickly find the right profile directory

Posted: Wed Jul 12, 2017 2:41 am
by Ville
Sometimes one wants to replace a cert, or pull some detail from a certificate with OpenSSL. Here's a quick command to find the correct profile directory that contains the certificate (since the profile dirs are named with numbers rather than with more descriptive names):
Code: Select all
cd ~/Library/Application Support/Viscosity/OpenVPN/
find . -type f -name 'config.conf' -exec grep -n 'viscosity name' /dev/null {} +