This article will provide information on changing the configuration of VS to SSL enabled (http-->https) using REST API calls.
As is DevTest doesn't provide the functionality of changing the VS from http to https with API call but it can be done manually by editing each VS manually.
Need a more robust solution which should help when modifying 100+ VS's.
Environment
Release : 10.x
Component : DevTest Virtual Service
Cause
Functionality need to be customized to change many VS from http-->https.
Resolution
Recommended to use "Virtual Service Invoke API" calls to achieve the functionality of changing the VS from http-->https for many services at one time than changing each one manually one at a time. If you want to change manually, then you need to edit the Virtual HTTP/S Listener step in VSM and select the Use SSL to Client option.
The recommendation is not just one step but need to create a test case with multiple steps to update each VS hosted on a specific Registry and VSE from http-->https and use the specific Keystore file. The LISA REST API will take care of redeployment with changed configuration.
Attached is the test case from Services which can be used/extended to achieve the functionality.