How to configure SSL certificates in a REST step?
search cancel

How to configure SSL certificates in a REST step?

book

Article ID: 11926

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How to configure a client keystore in REST step?

Environment

All supported DevTest releases.

Cause

 

 

Resolution

You will have to supply the path to the client keystore and specify its password in the local.properties file of the Workstation using the below properties. Please note that these properties define the keystore of the Workstation. 
        ssl.client.cert.path= Path to the keystore (For example: C:/DevTest/Proj/Test/jks or /apps/CA/DevTest/Test.jks)
        ssl.client.cert.pass= Cleartext password
        ssl.client.key.pass= Cleartext password
        ssl.client.alias= Alias name

Please note that creating JKS files and importing the key pair certs in to it is not a product feature but JAVA feature which can be done in various ways like using keytool commands or using openly available tool called "Portecle". 

You can also use the HTTP-HTML request step for GET calls and the Web Service Execution step for POST calls which has XML/JSON request body.

These two steps contains the SSL tab that allows a keystore to be specified.

The these steps:

Refer to documentation section "HTTP/HTML Request Step" of the release you are running for more information.

Refer to documentation section "Web Service Execution (XML) Step" of the release you are running for more information.

Additional Information