Support for client CA files and improved logging