Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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)?