Qlik Community
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join Us
var fs = require('fs');
var request = require('request');
//define certificate folder
var directory = "C:\\ProgramData\\Qlik\\Sense\\Repository\\Exported Certificates\\.Local Certificates\\";
//set up request options
var options = {
uri: 'https://qlikserver1.domain.local:4242/qrs/license?xrfkey=1234567891234567',
headers: {'content-type': 'application/json','X-Qlik-xrfkey': '1234567891234567','X-Qlik-user': 'UserDirectory=DOMAIN;UserId=Administrator'},
method: 'GET',
json: true,
ca: fs.readFileSync(directory+ "root.pem"),
key: fs.readFileSync(directory+"client_key.pem"),
cert: fs.readFileSync(directory+"client.pem"),
rejectUnauthorized: false
};
//send request
request(options, function (error, response, body) {
if(error)
{
console.log('Error: '+error);
}
else
{
console.log(body);
}
});
{ id: 'c1375bf8-59ac-4d24-a66c-6bacae5fcb11',
createdDate: '2017-09-30T15:53:42.794Z',
modifiedDate: '2017-11-01T12:25:07.728Z',
modifiedByUserName: 'INTERNAL\\bootstrap',
lef: '9999000000001069\r\nInternal Qlik License 2017;;;\r\nQlik Sense Enterpri
se;;;\r\nPRODUCTLEVEL;50;;2018-01-30\r\nTOKENS;100;;\r\nTIMELIMIT;;;2018-01-30\r
\nVWAH-B2GD-AH85-2BV5-ZT3D',
serial: '9999000000001069',
check: '2008976618',
name: '9999000000001069',
organization: '9999000000001069',
product: 2,
numberOfCores: -1,
isExpired: false,
expiredReason: '',
isBlacklisted: false,
isInvalid: false,
privileges: null,
schemaPath: 'License' }
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsSearch Qlik's Support Knowledge database or request assisted support for highly complex issues.
Submit a caseExperiencing a serious issue, please contact us by phone. For Data Integration related issues please refer to your onboarding documentation for current phone number.
Call Us