Skip to main content
Solved

How to define a connection to a keystore for a SOAP Service


jelle
Contributor
Forum|alt.badge.img+16
  • Contributor

A customer defined a project in SoapUI. In the documentation, everything is explained to setup the connection to a keystore, using a password for the JKS certificate. This works well in SoapUI.

 

Does anyone have experience with setting up this keystore in FME? How can I setup this web connection?

Best answer by david_r

I believe that the HTTPCaller is using the Windows keystore, so if you can import the necessary certificate(s) there, it should work.

SoapUI does not use the Windows keystore, which is why the configuration is different there.

View original
Did this help you find an answer to your question?

6 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

This is probably not supported by the HTTPCaller at the moment. (The certificate part.) I believe you can do this in Python using the PythonCaller but I have no working example.


jelle
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • May 20, 2021
nielsgerrits wrote:

This is probably not supported by the HTTPCaller at the moment. (The certificate part.) I believe you can do this in Python using the PythonCaller but I have no working example.

thank you Niels! I'll have a look into Python libraries. In that past, I created a python script for a JWT token. There seems to be a PyJKS Library as well and maybe combine it with Fiddler to find out how the certicate is passed to the SOAP request.


david_r
Celebrity
  • Best Answer
  • May 20, 2021

I believe that the HTTPCaller is using the Windows keystore, so if you can import the necessary certificate(s) there, it should work.

SoapUI does not use the Windows keystore, which is why the configuration is different there.


jelle
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • May 20, 2021
david_r wrote:

I believe that the HTTPCaller is using the Windows keystore, so if you can import the necessary certificate(s) there, it should work.

SoapUI does not use the Windows keystore, which is why the configuration is different there.

Thank you David. In fact, my first question was to get the certificates so I could install them. We are back at square 1, it seams.


david_r
Celebrity
  • May 20, 2021
jelle wrote:

Thank you David. In fact, my first question was to get the certificates so I could install them. We are back at square 1, it seams.

You'll probably have to contact the client and explain that you need the certificates on a format that you can install into the Windows certificate keystore. Such certificates can e.g. have the extension .p12 or .pfx, although some other formats are possible. Sometimes you'll also need to have a password for the certificate.


jelle
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • May 20, 2021
jelle wrote:

Thank you David. In fact, my first question was to get the certificates so I could install them. We are back at square 1, it seams.

yes, I found the documentation on the platform of the API on how to export (create) the *.p12 file. A password is required indeed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings