Open YouJen opened 5 years ago
Hello
I think the problem is that you use "secret" as password here:
"C:\Program Files\Java\jdk1.8.0_201\bin\keytool.exe" -import -alias QlikCA -keystore "root.jks" -file "root.cer" -storepass secret -noprompt
Regards,
Hi goldbergjeffrey,
I follow all the steps described in the README.MD, but when I run the class getting the following error message: java.io.IOException: Keystore was tampered with, or password was incorrect
Step operation is described below: 1.Create a certificates in Qlik sense server.
2.Configure a virtual proxy for ticketing to use with this code.
3.Using Java Keytool, create a Java Key Store (JKS) file containing the client.pfx file exported from Qlik Sense. As a note, I use the word "Ken12345678" as the password for my certs. "C:\Program Files\Java\jdk1.8.0_201\bin\keytool.exe" -importkeystore -srckeystore "client.pfx" -srcstoretype pkcs12 -destkeystore "client.jks" -deststoretype JKS -srcstorepass Ken12345678 -deststorepass Ken12345678 -noprompt
4.Using Java Keytool, create a Java Key Store (JKS) file containing the root.cer file exported from Qlik Sense. "C:\Program Files\Java\jdk1.8.0_201\bin\keytool.exe" -import -alias QlikCA -keystore "root.jks" -file "root.cer" -storepass secret -noprompt
5.Compiling and Testing the Code Compiling the java file into an actual java class is easy to do if the jdk is installed. "C:\Program Files\Java\jdk1.8.0_201\bin\javac.exe" Ticket.java
6.Now we can test the code by calling java Ticket with arguments for userId and userDirectory. "C:\Program Files\Java\jdk1.8.0_201\bin\java" Ticket QSAdmin KENQV0227 Error Message ---> java.io.IOException: Keystore was tampered with, or password was incorrect
7.QlikSense Ticket with Java source code
Ticketwith Java.txt
We want to access Qlik mashup or objects. We don't want to enter Qlik sense server authentication again. Same admin credential should work for Qlik.
Kindly guide or provide me some inputs how to achieve the same admin credential.
Thanks in advance.
Regards,
YouJen