Determine the default path for certificates and keys dynamically