Enabling https for the DevTest Demo Server
search cancel

Enabling https for the DevTest Demo Server

book

Article ID: 230855

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How do you enable the Demo Server with HTTPS?

Environment

All supported DevTest versions and platforms.

Cause

N/A

Resolution

The Bank Demo Server is already running on SSL so instead of port 8080 you would use 8443:

http://localhost/lisabank you would go to https://localhost:8443/lisabank/home.do

This is a standard JBoss server. The port default to 8080 and since 8080 is a popular port, there are chances of conflict. You can change the port by editing file

C:\Program Files\CA\DevTest\DemoServer\lisa-demo-server\jboss\server\default\deploy\jboss-web.deployer\server.xml

Just change the port as highlighted below to 8443:

<Connector port="8080" address="${jboss.bind.address}" 

maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="false" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" />