Skip to main content
Solved

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

  • May 20, 2021
  • 6 replies
  • 138 views

jelle
Contributor
Forum|alt.badge.img+22

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

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+22
  • Author
  • Contributor
  • May 20, 2021

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+22
  • Author
  • Contributor
  • 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.

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

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+22
  • Author
  • Contributor
  • May 20, 2021

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.