Pass SSL certificates properties through custom Java code
search cancel

Pass SSL certificates properties through custom Java code

book

Article ID: 10833

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

Is there a way you can pass the SSL certificate info through custom Java Step? 



Environment

All DevTest releases

Cause

N/A

Resolution

Add the following properties in your Java Script step. 


testExec.setStateValue ( “ssl.client.cert.path”, “/the/path/to/the/cert” ); 
testExec.setStateValue ( “ssl.client.cert.pass”, “the-password” );