$options = [ 'context' => [ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false ] ] ]; $client = new Client(new Version2X('http://localhost:3000',$options)); $client->initialize();