protected function extractCacertFile() {
        if( $this->isIncludedAsPhar() ) {
            $cacertFilePath = $this->getCacertFilePath();

            if( !file_exists( $cacertFilePath )) {
                copy( __DIR__ . '/cacert.pem', $cacertFilePath );
            }
        }
    }