Skip to main content

Qlik Application Automation

Announcements
Qlik Customers, Partners, Jan. 12th, Product Strategy and Roadmap session for Data Integration: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
satyaban
Contributor III
Contributor III

How to access Qlik Repository Service using certificate based auth from Remote Linux Machine?

Dear Team, Basically I am trying to use Qlik_CLI powershell module to access Qlik Repository Service (QRS) .

Ref Link : https://adamhaydon.com/Qlik-Cli-Windows/

But requirement is I have to Run Qlik-CLI commands Connect-Qlik from Linux/Mac Terminal using certificate generated from Qlik QMC

Ref Link : https://community.qlik.com/t5/Official-Support-Articles/Export-client-certificate-and-root-certifica...

Now I have taken those client.pfx,Server.pfx and root.cer from Qlik Server and paste in mac server inside /certificate folder

Command used : Get-PfxCertificate "/Users/mac_username/Development/powershell/certificate/client.pfx" | Connect-Qlik -computername "QlikHostname" -username "Domain\adminUser" -TrustAllCerts

 

Error Snippet:

Line | 66 | … $result = Invoke-RestMethod @paramInvokeRestMethod @params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Unable to cast object of type 'System.Security.Cryptography.X509Certificates.X509Certificate' to type | 'System.Security.Cryptography.X509Certificates.X509Certificate2'.

 

Request you please help with process how to Execute Qlik Cli Powershell module from remote machine using certificate while Qlik Repo Service is running inside another windows server .

Labels (1)
1 Solution

Accepted Solutions
J_Lindberg
Support
Support

Hello @satyaban,
In this forum we would be able to help you with questions related to the product Qlik Application Automation.
This question seems to be related to Qlik Sense, if so, could you please post your question in that forum (https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense)?

View solution in original post

1 Reply
J_Lindberg
Support
Support

Hello @satyaban,
In this forum we would be able to help you with questions related to the product Qlik Application Automation.
This question seems to be related to Qlik Sense, if so, could you please post your question in that forum (https://community.qlik.com/t5/Qlik-Sense/ct-p/qlik-sense)?