Automatically extracting the cacert from the phar in client constructor