How to enforce only HTTPS Virtual Services that use SSL and prevent any HTTP Virtual Services from being deployed.
This is a requirement when moving to a cloud infrastructure.
All supported DevTest releases.
There is not a direct way to enforce only HTTPS Virtual Services.
But it is possible to identify HTTP Virtual Services and remove these either manually or by way of a script.
The HTTP/S listen step of a Virtual Service can be configured either with 'Use SSL to client' ticked or not.
If SSL is not enabled, then the resulting .vsm file will have the following tag in the listen step:
In the Portal an HTTP VS will show in the 'Resource/Type' column as:
An HTTPS VS will show as:
Some different ways to enforce HTTPS might be:
1) Check the Portal for entries with http in the 'Resource/Type column. Either do this manually or use the API or the VSEManager command.
For example see the output of the VSEManager status command in the documentation:
Refer to section "VSE Manager Command - Manage Virtual Service Environments" in the documentation of the DevTest release you are running.
2) Check the folder vseDeploy. Each VS will create a .mar file when deployed. Unzip the .mar and scan the .vsm for the following string:
3) Check the folder lisatmp_xx.x.x/lads folder. Each VS will have a subfolder with the .vsm that was deployed.
Scan the .vsm files for the following string:
NOTE: When you configure a VS as HTTPS make sure no other VS's are running on same port with HTTP.