Configuring WS-Security in soapUI

by lichen 6/5/2008 5:44:00 PM

soapUI is a great tool for testing web service. However, configuring soapUI to test securied web service have not easy. The only information I can get is this page. Fortuanately, soapUI is an open source tool so I was able to down the code and open it in Eclipse to step through the code. I finally figured out how to make it work:

  1. Make sure you installed JCE unlimited strength policy (at the end of this link).
  2. soapUI does not import jks or jceks keystores correctly. It needs to be converted to PKCS12 keystore.
  3. soapUI failed to recognize the server public key in the keystore (a bug in version 2.02?). Instead, I have to provide it the server private keystore for it to work.

Basically, I configure the keystore in the project level. Create the outgoing and incoming configuration. Then I go to binding to bind the outgoing and incoming WSS configuration.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Java

Comments

6/19/2008 8:50:44 AM

mohammed meeran

How can we convert a JCEKS keystore to PKCS12 keystore. Which one is wise to use for web services security implementation?
can you throw light on these things?

My Need:
I need to test a web service through SOAP UI 2.0.1, i have only JCEKS keystore with me. i have to use this in outgoing request configuration as security. but i am not able add a jceks file in Keystore/Certificate tab in SOAP UI 2.0.1?
why is this?

Please help

thanks
Meeran

mohammed meeran in

6/23/2008 5:36:13 PM

lichen

SOAP UI 2.0.1 does not accept JCEKS keystore. I hope they will fix it in future versions. JCEKS is the preferred format if you only use it with Java program. PKCS12 is the format can be used with a wide range of platforms.

To convert JCEKS to PKCS12, you can use KeyTool IUI (http://yellowcat1.free.fr/index_ktl.html).

lichen us

6/24/2008 9:53:41 AM

mohammed meeran

Li, Thanks a lot for the Info

mohammed meeran in

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

1/5/2009 5:53:08 PM

Powered by BlogEngine.NET 1.2.0.0
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Pages

    Recent comments

    Authors

    Tags

      Disclaimer

      The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

      © Copyright 2009

      Sign in