Qlik Community

Knowledge

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Join us for live office hours! Q&A with Qlik on Dec 14 at 10am EST: Refining Reports and Visualizations

Retrieve the Signed License Definition using PowerShell in order to license the server without Internet Connection

Sonja_Bauernfeind
Digital Support
Digital Support

Retrieve the Signed License Definition using PowerShell in order to license the server without Internet Connection


How to retrieve the Signed License Definition (SLD) using PowerShel in order to license the server without Internet Connection


Requirements: 

  • PowerShell installed
  • The Signed License Key
  • The LEF of the matching 16-digits license must contain the attribute: DELAYED_SYNC;YES;;[enddate]
  • Internet Connectivity with port 443 available to access license.qlikcloud.com

 

Related Content:

 

For more information on signed license keys, please see: Qlik License Service: the advantages of QLS activation

 

Resolution

 

Step 1: Download the attached ps1

 

The attached ps1 includes the following code: 

Content of the PowerShell script:

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Authorization", "Bearer <PASTE YOUR SLK HERE keep the SPACE CHAR>")

$response = Invoke-RestMethod 'https://license.qlikcloud.com/v1/definitions/portable?key=def_key0' -Method 'GET' -Headers $headers -Body $body
$response | ConvertTo-Json

 

Step 2: Insert your SLK

 

Insert the previously acquired SLK, replacing <PASTE YOUR SLK HERE keep the SPACE CHAR>

 

Step 3: Run the PowerShell Script

 

powershell01.png


 

Labels (2)
Attachments
Comments
Filippo_Nicolussi_P

If connection requires a Proxy you could import the setting "in powershell" using the command :

netsh winhttp import proxy source=ie

ilg_heldendaten
Partner
Partner

@Filippo_Nicolussi_P does the "netsh winhttp" proxy setting change the behaviour of the dispatcher service in any way (such as it using the proxy for accessing license.qlikcloud.com) or is this only a solution for powershell? 

The topic I want to get at: Is there a proxy setting Qlik Sense recognizes (on installation, after service restart, etc.) apart from manually setting proxy as described here?

Best regards, Benjamin

Filippo_Nicolussi_P

Hello @ilg_heldendaten 

 

The main suggestion is to follow the link you highlighter in the help, then if you still face some issue will recommend to check with the Proxy administrators ( IT Team )  if  connection against license.qlikcloud.com is allowed. 

Best Regards 

Version history
Last update:
a month ago
Updated by:
Contributors