How to enable the Gemfire REST API with ssl enabled
search cancel

How to enable the Gemfire REST API with ssl enabled

book

Article ID: 376073

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

This guide will instruct you to configure the Gemfire REST API with ssl enabled.

 

Prerequisites:

  • Please have a Java keystore and truststore per below guide

https://docs.vmware.com/en/VMware-GemFire/10.1/gf/managing-security-ssl_example.html

Resolution

1. Start the locator with ssl enabled

start locator --name=locator1 --properties-file=gemfire.properties --security-properties-file=gemfire.security

 

2. Start the server with ssl enabled

start server --name=server1 --properties-file=gemfire.properties --security-properties-file=gemfire.security \
--start-rest-api=true --http-service-bind-address=0.0.0.0 --http-service-port=8888

 

3. Create some regions to test

create region --name=test1 --type=replicated

 

4. Put the address in the browser to access

https://10.211.55.11:8888/gemfire-api/v1

 

10.211.55.11 is the ip address of the Gemfire server.