SoapUI and Security #1

While I am trying to figure out how to connect to a Webserver, I will list my findings here. For me this is the first time, it is done in the way mentioned later. That means there will be mistakes in the stuff shown here. So if anyone reads this and has some suggestions for improvement, please let me know!!!

The Webserver has double security. First is to gain access with a X.509 certificate. Second is the use of WSS with Kerberos to encrypt parts of the message sent.

Setting up
Reference: www.john-james-andersen.com/blog/service-now/tutorial-soap-into-servicenow-via-x509-ws-security.html

The first thing was to create a Keystore. I have exported the Certificate from the webservice using Firefox. Followed the steps mention in the reference and created the keystore with following commands:

#1
keytool -genkeypair -keyalg RSA -alias [MyKeyStoreName] -keystore [MyKeyStore] -storepass [MyPassword] -keysize 2048

#2
keytool -import -alias [MyCertificateName] -file [MyCertificate] -keystore [MyKeyStore]

Advertisements
SoapUI and Security #1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s