HTTPS is not enabled for tc Server instance
search cancel

HTTPS is not enabled for tc Server instance

book

Article ID: 391117

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime

Issue/Introduction

HTTPS is not enabled for tc Server instance
Example:
Port 8445 is used for SSL communication.

When customer does a netstat for the http port for a running instance its working
C:\>netstat -aon |findstr 8082

TCP    0.0.0.0:8082           0.0.0.0:0              LISTENING       2196
TCP    [::]:8082              [::]:0                 LISTENING       2196

but when customer is doing the netstat for https port nothing shows up as listening.
C:\>netstat -aon |findstr 8445

Resolution

To enable the SSL - using nio-ssl template


On Windows environment
To create a new instance
tcserver.10.#.#.bat create <MYINSTANCE> -t nio-ssl

To update existing instance
tcserver.10.#.#.bat apply-template <MYINSTANCE> -t nio-ssl

Modify the port and keystore file and password as needed in catalina.properties

On Linux environment
To create a new instance
tcserver.10.#.# create <MYINSTANCE> -t nio-ssl

To update existing instance
tcserver.10.#.#  apply-template <MYINSTANCE> -t nio-ssl

Modify the port and keystore file and password as needed in catalina.properties