Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
My stacktrace :
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
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
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