Forum Discussion

Sandro's avatar
Sandro
New Contributor
16 years ago

Outgoing WSS

I would like to encrypt the outgoing message using a public key I was given and for which I do not have a complementary private key. How do you do that ? It looks like soapUI just accepts keystores in the Security Configuration Tab and must holds both pub and private keys. I'm using 2.5. Thanks, Sandro

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    Try the following:

    1) Add your keystore/public-key to your projects' WS-Security tab
    2) Add a new outgoing WSS configuration
    3) Add an Encryption item to this configuration and configure it accordingly
    4) Set your request to use the created Outgoing WSS configuration (either in the AUT inspector, Request Properties or Service Endpoint defaults).

    Good Luck!

    regards,

    /Ole
    eviware.com
  • Sandro's avatar
    Sandro
    New Contributor
    Hi Ole, everything goes well with the procedure you described as long as I supply a p12 Personal Information Exchange File to soapUI. What I'm trying to accomplish is to supply just a crt PEM file to do the encryption, is there a way to do that too ? Thanks, Sandro