Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Alpha549
Creator II
Creator II

tSOAP using HTTPS : certificate...

Hello everyone,

I used to use a SOAP web service, with HTTP. However, it is now using HTTPS.

Using HTTPS, I saw that in tSOAP settings, I need to activate Trust server with SSL.

My TrustStore file is a pfx file. I don't know if it's the correct file.

My SOAP version setting is SOAP 1.2 and I use an authentication (Need authentication?)

Here is my setting : I'm on Windows for my test

0695b00000ch1EgAAI.png 

My stacktrace :

0695b00000ch1AqAAI.png 

0695b00000ch1K0AAI.png 

Checking if the password is correct, using :

openssl pkcs12 -in CERT.pfx -password pass:PASSWORD -info

Confirm that the password I use is correct.

SOURCE : https://stackoverflow.com/questions/62489718/openssl-verify-pfx-password-ok

 

Thank you for you help everyone

Labels (3)
2 Replies
Anonymous
Not applicable

Hello @Alpha549 Alpha549​ ,

Regarding to the error log, the problem is that it can't accept the truststore file X.pfx as it's format is pkcs12

please convert it to jks format first by the below command like

keytool -importkeystore -srckeystore key.p12 -srcstoretype pkcs12 -srcstorepass xxx -destkeystore key.jks -deststoretype jks -deststorepass xxx

see How to convert a PKCS12 (.p12) keystore to a JKS keystore (broadcom.com)

then setup the tSOPA truststore file to the new jks file to re-try?

 

Thanks

Aiming

Alpha549
Creator II
Creator II
Author

Hello, thank you for your answer.

I found that a pfx file is usable. Here, the problem is that in tSOAP settings, for the URL, the IP address was set. I had to use the domain name instead. It works.

 

It's nice to know how to convert from a pfx to another format !

 

Problem solved, thank you @Aiming Chen​